Copyright (C) 2000-2012 |
Manpages HTTP::MessageSection: User Contributed Perl Documentation (3)Updated: 2001-11-15 Index Return to Main Contents NAMEHTTP::Message - Class encapsulating HTTP messagesSYNOPSISpackage HTTP::Request; # or HTTP::Response require HTTP::Message; @ISA=qw(HTTP::Message); DESCRIPTIONAn "HTTP::Message" object contains some headers and a content (body). The class is abstract, i.e. it only used as a base class for "HTTP::Request" and "HTTP::Response" and should never instantiated as itself.The following methods are available:
All unknown "HTTP::Message" methods are delegated to the "HTTP::Headers" object that is part of every message. This allows convenient access to these methods. Refer to HTTP::Headers for details of these methods:
$mess->header($field => $val); $mess->push_header($field => $val); $mess->init_header($field => $val); $mess->remove_header($field); $mess->scan(\&doit); $mess->date; $mess->expires; $mess->if_modified_since; $mess->if_unmodified_since; $mess->last_modified; $mess->content_type; $mess->content_encoding; $mess->content_length; $mess->content_language $mess->title; $mess->user_agent; $mess->server; $mess->from; $mess->referer; $mess->www_authenticate; $mess->authorization; $mess->proxy_authorization; $mess->authorization_basic; $mess->proxy_authorization_basic; COPYRIGHTCopyright 1995-2001 Gisle Aas.This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
IndexThis document was created by man2html, using the manual pages. Time: 14:13:01 GMT, April 23, 2024 |