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"
- •
- "$env->{SERVER_PROTOCOL}" is always
HTTP/1.0 regardless of the request version.
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.
Hey! The above document had some coding errors, which are explained
below:
- Around line 217:
- You forgot a '=back' before '=head1'