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.
* Even if contents are included following two changing line or more, it operates well.
* 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.
Masatoshi Mizuno <firstname.lastname@example.org>
Copyright (C) 2007 by Bee Flag, Corp. <http://egg.bomcity.com/>, All Rights Reserved.
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.