1Plack::HTTPParser(3)  User Contributed Perl Documentation Plack::HTTPParser(3)
2
3
4

NAME

6       Plack::HTTPParser - Parse HTTP headers
7

SYNOPSIS

9         use Plack::HTTPParser qw(parse_http_request);
10
11         my $ret = parse_http_request($header_str, \%env);
12         # see HTTP::Parser::XS docs
13

DESCRIPTION

15       Plack::HTTPParser is a wrapper class to dispatch "parse_http_request"
16       to Kazuho Oku's XS based HTTP::Parser::XS or pure perl fallback based
17       on David Robins HTTP::Parser.
18
19       If you want to force the use of the slower pure perl version even if
20       the fast XS version is available, set the environment variable
21       "PLACK_HTTP_PARSER_PP" to 1.
22

SEE ALSO

24       HTTP::Parser::XS HTTP::Parser
25
26
27
28perl v5.32.0                      2020-12-02              Plack::HTTPParser(3)
Impressum