From b5c9eeeb43b88c8a1319853e1a92d92b1c858057 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 25 Jan 2011 16:27:56 -0600 Subject: new plack version fixes this --- t/02-inputs.t | 2 -- t/03-delayed-response.t | 2 -- t/04-streaming.t | 2 -- 3 files changed, 6 deletions(-) (limited to 't') diff --git a/t/02-inputs.t b/t/02-inputs.t index 5f9b56a..be14d0f 100644 --- a/t/02-inputs.t +++ b/t/02-inputs.t @@ -130,7 +130,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; @@ -146,7 +145,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; diff --git a/t/03-delayed-response.t b/t/03-delayed-response.t index a034f4a..7d256f0 100644 --- a/t/03-delayed-response.t +++ b/t/03-delayed-response.t @@ -133,7 +133,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; @@ -149,7 +148,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; diff --git a/t/04-streaming.t b/t/04-streaming.t index 2bee7a9..268cfa0 100644 --- a/t/04-streaming.t +++ b/t/04-streaming.t @@ -134,7 +134,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; @@ -150,7 +149,6 @@ sub test_responses { my $base = URI->new($base_uri); my $uri = $base->clone; $uri->scheme('http'); - $uri->path('/') unless $uri->path; # XXX: work around plack bug my $env = HTTP::Request->new(GET => $uri)->to_psgi; $env->{CONTENT_LENGTH} = 0; # XXX: work around plack bug $env->{'plack.client.original_uri'} = $base; -- cgit v1.2.3-54-g00ecf