summaryrefslogtreecommitdiffstats
path: root/t/03-delayed-response.t
diff options
context:
space:
mode:
Diffstat (limited to 't/03-delayed-response.t')
-rw-r--r--t/03-delayed-response.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/03-delayed-response.t b/t/03-delayed-response.t
index 777b828..9d9b258 100644
--- a/t/03-delayed-response.t
+++ b/t/03-delayed-response.t
@@ -134,6 +134,7 @@ sub test_responses {
$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.url_scheme'} = $base->scheme;
$env->{'plack.client.app_name'} = $base->authority
if $base->scheme eq 'psgi-local';
@@ -151,6 +152,7 @@ sub test_responses {
$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.url_scheme'} = $base->scheme;
$env->{'plack.client.app_name'} = $base->authority
if $base->scheme eq 'psgi-local';