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
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.
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.
These both force read_content to be called, but otherwise are identical to the parent class's.
<frodwith at cpan.org>
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.
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.