The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

DESCRIPTION

This built by HTTP::Server::Simple::Dispatched to avoid reading the entity-body of a message if it is never asked for. You likely don't want to use it directly

METHODS

new

Because it's convenient, any field you can set on a normal Request object can be passed as a keyword parameter here, and the normal constructor with positional arguments is ignored. In addition, a handle parameter is passed in - this is the file handle from which to read the entity-body of the request. A Content-Length header must be present, or content will be empty. This is not standards compliant at all, and will likely change in future versions.

read_content

This forces the content to be read from the provided filehandle: this should be called if you're planning on storing the request, as the filehandle will become invalid after the request is handled.

content

content_ref

These both force read_content to be called, but otherwise are identical to the parent class's.

AUTHOR

Paul Driver, <frodwith at cpan.org>

BUGS

Please report any bugs or feature requests to bug-http-server-simple-dispatched at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=HTTP-Server-Simple-Dispatched. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SEE ALSO

HTTP::Request, HTTP::Server::Simple::Dispatched

COPYRIGHT & LICENSE

Copyright 2008 Paul Driver, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.