Update Session/Http for Plack.

This commit is contained in:
Colin Kuskie 2010-06-16 17:37:55 -07:00
parent 433700b6f0
commit a07bf9b84f
2 changed files with 236 additions and 141 deletions

View file

@ -181,6 +181,16 @@ sub newSession {
return $session;
}
=head2 newEnv
This method works either as a object method, or as a standalone subroutine.
=head3 form
Something that could be a HTTP::Request object.
=cut
sub newEnv {
shift
if eval { $_[0]->isa($CLASS) };