summaryrefslogtreecommitdiff
path: root/lib/Net
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 => (