HTTP-Handy
view release on metacpan or search on metacpan
lib/HTTP/Handy.pm view on Meta::CPAN
=head1 PSGI COMPATIBILITY NOTES
HTTP::Handy implements a strict I<subset> of the PSGI/1.1 specification.
The following keys defined by the PSGI spec are B<not> set in C<$env>:
psgi.version (PSGI requires [1,1]; not set)
psgi.multithread (not set; effectively false)
psgi.multiprocess (not set; effectively false)
psgi.run_once (not set; effectively false)
psgi.nonblocking (not set; always blocking)
psgi.streaming (not set; not supported)
Applications that check for these keys must treat their absence as false.
For full PSGI/1.1 compliance use L<Plack> (requires Perl 5.8+).
=head1 SECURITY
HTTP::Handy is designed for B<personal use and local development only>.
It is not hardened for production or internet-facing deployment.
=over 4
lib/HTTP/Handy.pm view on Meta::CPAN
=item * HTTP/1.0 only -- no Keep-Alive, no HTTP/1.1, no HTTP/2
=item * GET and POST only -- HEAD, PUT, DELETE, etc. return 405
=item * Single process, single thread -- requests are handled one at a time
=item * No HTTPS (see above)
=item * No chunked transfer encoding
=item * No streaming -- POST body and response body are fully buffered in memory
=item * Maximum POST body size: 10 MB by default (configurable via C<max_post_size>)
=item * No cookie or session management (implement in the application layer)
=back
=head1 DEMO
Run directly to start a self-contained demo server:
( run in 0.479 second using v1.01-cache-2.11-cpan-140bd7fdf52 )