Egg::Plugin::HTTP::HeadParser - Analysis of request header and response header.
use Egg qw/ HTTP::HeadParser /; $header= <<END_HEADER; Content-Tyle: text/html Content-Language: ja content .... END_HEADER my $hash= $e->parse_http_header($header);
HEADER_TEXT is analyzed and the result is returned by the HASH reference.
GET of the request header and the header such as POST preserve the content in 'method' key.
The header following the response header HTTP/\d + preserves the content in 'status' key.
Other headers can be referred to with the key that makes all the names a small letter.
Egg::Release,
Masatoshi Mizuno <lushe@cpan.org>
Copyright (C) 2008 Bee Flag, Corp. <http://egg.bomcity.com/>.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.
To install Egg::Release, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Egg::Release
CPAN shell
perl -MCPAN -e shell install Egg::Release
For more information on module installation, please visit the detailed CPAN module installation guide.