Plack::Handler::AnyEvent::HTTPD - Plack handler to run PSGI apps on AnyEvent::HTTPD
plackup -s AnyEvent::HTTPD --port 9090
Plack::Handler::AnyEvent::HTTPD is a Plack handler to run PSGI apps on AnyEvent::HTTPD module.
It's a handler running on AnyEvent::HTTPD so it inherits all the features from that, but the implementation is a bit tweaked to bypass some restrictions that AnyEvent::HTTPD has, i.e.:
AnyEvent::HTTPD only supports GET and POST but this handler supports other methods too.
AnyEvent::HTTPD processes x-www-form-urlencoded and multipart/form-data but this handler turns off that processing and just pushes the buffered content to psgi.input
x-www-form-urlencoded
multipart/form-data
psgi.input
$env->{SERVER_PROTOCOL} is always HTTP/1.0 regardless of the request version.
$env->{SERVER_PROTOCOL}
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AnyEvent::HTTPD
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
To install Plack::Handler::AnyEvent::HTTPD, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Handler::AnyEvent::HTTPD
CPAN shell
perl -MCPAN -e shell install Plack::Handler::AnyEvent::HTTPD
For more information on module installation, please visit the detailed CPAN module installation guide.