summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-07-11 10:48:18 +0200
committerfranck cuny <franck@lumberjaph.net>2011-07-26 13:20:47 +0200
commit6af5a74baf7678b86528a3a6993262d884cd74c2 (patch)
treeff1a3d7c120541c4ee0bab5ca5cb2b76129c5425
parentuserinfo if available (diff)
downloadnet-http-spore-6af5a74baf7678b86528a3a6993262d884cd74c2.tar.gz
fix path_info
Signed-off-by: franck cuny <franck@lumberjaph.net>
-rw-r--r--lib/Net/HTTP/Spore/Request.pm2
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 => (