Mercurial > hg > nginx-tests
comparison scgi_body.t @ 590:dc2f8aac0553
Tests: whitespace fixes.
author | Andrey Zelenkov <zelenkov@nginx.com> |
---|---|
date | Tue, 26 May 2015 13:22:45 +0300 |
parents | a9621dbbd0d4 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
589:a9569f57da98 | 590:dc2f8aac0553 |
---|---|
85 EOF | 85 EOF |
86 | 86 |
87 ############################################################################### | 87 ############################################################################### |
88 | 88 |
89 sub http_get_length { | 89 sub http_get_length { |
90 my ($url, $body) = @_; | 90 my ($url, $body) = @_; |
91 my $length = length $body; | 91 my $length = length $body; |
92 return http(<<EOF); | 92 return http(<<EOF); |
93 GET $url HTTP/1.1 | 93 GET $url HTTP/1.1 |
94 Host: localhost | 94 Host: localhost |
95 Connection: close | 95 Connection: close |
96 Content-Length: $length | 96 Content-Length: $length |
97 | 97 |