diff options
author | franck cuny <franck@lumberjaph.net> | 2011-07-11 10:48:18 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2011-07-26 13:20:47 +0200 |
commit | 6af5a74baf7678b86528a3a6993262d884cd74c2 (patch) | |
tree | ff1a3d7c120541c4ee0bab5ca5cb2b76129c5425 | |
parent | userinfo if available (diff) | |
download | net-http-spore-6af5a74baf7678b86528a3a6993262d884cd74c2.tar.gz |
fix path_info
Signed-off-by: franck cuny <franck@lumberjaph.net>
-rw-r--r-- | lib/Net/HTTP/Spore/Request.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/HTTP/Spore/Request.pm b/lib/Net/HTTP/Spore/Request.pm index 3551e12..109e033 100644 --- a/lib/Net/HTTP/Spore/Request.pm +++ b/lib/Net/HTTP/Spore/Request.pm @@ -26,7 +26,7 @@ has path => ( is => 'rw', isa => 'Str', lazy => 1, - default => sub { $_[0]->path_info } + default => sub { $_[0]->env->{PATH_INFO} } ); has headers => ( |