Parser(3pm)
πΈ NAME πΈ
okay so, bestie, this is APR::Request::Parser β it's the Perl wrapper for libapreq2's parser API. that's the whole vibe. π
β¨ SYNOPSIS β¨
use APR::Request::Parser;
that's it. that's the whole load-up. go off. π«Ά
π DESCRIPTION π
this manpage is the one for version 2.17 of the APR::Request::Parser package. periodt. no cap. β¨
π METHODS π
APR::Request::Parser π
π¦ generic
APR::Request::Parser->generic($pool, $ba, $ct)
APR::Request::Parser->generic($pool, $ba, $ct, $blim)
APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir)
APR::Request::Parser->generic($pool, $ba, $ct, $blim, $tdir, $hook)
so this one is a noop-parser, meaning it literally just collects everything into one single internal parameter. not picky, not doing the most β just gathering it all. icon behavior honestly. π§Ί
here's the cast of characters:
$poolβ anAPR::Poolobject π$baβ anAPR::BucketAllocobject πͺ£$ctβ theContent-Typeheader of the request π
and optionally, if you're feeling extra:
$blimβ the brigade in-memory limit π§$tdirβ the path to the temporary directory π$hookβ anAPR::Request::Hookobject πͺ
π headers
APR::Request::Parser->headers($pool, $ba, $ct)
APR::Request::Parser->headers($pool, $ba, $ct, $blim)
APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir)
APR::Request::Parser->headers($pool, $ba, $ct, $blim, $tdir, $hook)
this is the RFC 822 header parser. it reads headers like it's reading the group chat from the top. π¬β¨
$poolβ anAPR::Poolobject π$baβ anAPR::BucketAllocobject πͺ£$ctβ theContent-Typeheader of the request π$blim(optional) β the brigade in-memory limit π§$tdir(optional) β the path to the temporary directory π$hook(optional) β anAPR::Request::Hookobject πͺ
π urlencoded
APR::Request::Parser->urlencoded($pool, $ba, $ct)
APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim)
APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir)
APR::Request::Parser->urlencoded($pool, $ba, $ct, $blim, $tdir, $hook)
the x-www-form-urlencoded parser. yes, the one with all the %20s and the &s. lowkey the internet's original love language. π
$poolβ anAPR::Poolobject π$baβ anAPR::BucketAllocobject πͺ£$ctβ theContent-Typeheader of the request π$blim(optional) β the brigade in-memory limit π§$tdir(optional) β the path to the temporary directory π$hook(optional) β anAPR::Request::Hookobject πͺ
π multipart
APR::Request::Parser->multipart($pool, $ba, $ct)
APR::Request::Parser->multipart($pool, $ba, $ct, $blim)
APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir)
APR::Request::Parser->multipart($pool, $ba, $ct, $blim, $tdir, $hook)
the multipart parser!! this is the one carrying your file uploads and your form fields all in one big bundle. main character energy, fr fr. π¦π₯
$poolβ anAPR::Poolobject π$baβ anAPR::BucketAllocobject πͺ£$ctβ theContent-Typeheader of the request π$blim(optional) β the brigade in-memory limit π§$tdir(optional) β the path to the temporary directory π$hook(optional) β anAPR::Request::Hookobject πͺ
β default
APR::Request::Parser->default($pool, $ba, $ct)
APR::Request::Parser->default($pool, $ba, $ct, $blim)
APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir)
APR::Request::Parser->default($pool, $ba, $ct, $blim, $tdir, $hook)
the default parser. it's giving "i don't need to pick, the vibes will pick for me." π«
$poolβ anAPR::Poolobject π$baβ anAPR::BucketAllocobject πͺ£$ctβ theContent-Typeheader of the request π$blim(optional) β the brigade in-memory limit π§$tdir(optional) β the path to the temporary directory π$hook(optional) β anAPR::Request::Hookobject πͺ
π SEE ALSO π
go read these next, bestie, they're the supporting cast:
APR::RequestAPR::Request::Hook
π COPYRIGHT π
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
and that's a wrap, my love π this lil doc lives in perl v5.42.3, dated 2026-08-21, and it's filed under section 3pm (perl module docs, iykyk). go parse something cute. πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: libapreq2-doc 2.17-9build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms