summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-12-31 15:25:37 -0600
committerJesse Luehrs <doy@tozt.net>2010-12-31 15:25:37 -0600
commit02c87fd5b686f23fb0b1a68f70dc14033d2c3c38 (patch)
tree3fbcfa885fd08eab4bf8c7c523641aedba70c8c0 /lib
parent934a64b7706ec6092c0b2197f46dcdea82ff5192 (diff)
downloadplack-client-02c87fd5b686f23fb0b1a68f70dc14033d2c3c38.tar.gz
plack-client-02c87fd5b686f23fb0b1a68f70dc14033d2c3c38.zip
use psgi-local: rather than psgi:
Diffstat (limited to 'lib')
-rw-r--r--lib/Plack/Client.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Plack/Client.pm b/lib/Plack/Client.pm
index f9482b6..cc61ef7 100644
--- a/lib/Plack/Client.pm
+++ b/lib/Plack/Client.pm
@@ -39,7 +39,7 @@ sub request {
# both Plack::Request and HTTP::Request have a ->uri method
my $scheme = $req->uri->scheme;
my $app;
- if ($scheme eq 'psgi') {
+ if ($scheme eq 'psgi-local') {
$req->uri->path('/') unless length $req->uri->path;
$app = $self->app_for($req->uri->authority);
}