comparison http_expect_100_continue.t @ 925:6bb1f2ccd386

Tests: removed unused variables.
author Andrey Zelenkov <zelenkov@nginx.com>
date Fri, 13 May 2016 14:46:07 +0300
parents 9592b440ab00
children e9064d691790
comparison
equal deleted inserted replaced
924:54680c434afa 925:6bb1f2ccd386
92 ############################################################################### 92 ###############################################################################
93 93
94 sub http_100_request { 94 sub http_100_request {
95 my ($url, $version, $value) = @_; 95 my ($url, $version, $value) = @_;
96 $value = '100-continue' unless defined $value; 96 $value = '100-continue' unless defined $value;
97 my $r = http(<<EOF); 97 http(<<EOF);
98 POST $url HTTP/$version 98 POST $url HTTP/$version
99 Host: localhost 99 Host: localhost
100 Expect: $value 100 Expect: $value
101 Content-Length: 0 101 Content-Length: 0
102 Connection: close 102 Connection: close