Mercurial > hg > nginx-tests
comparison uwsgi_body.t @ 1748:b27bcded6449
Tests: removed TODOs for fixes merged in 1.20.2.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 23 Nov 2021 16:14:46 +0300 |
parents | 9fc3b428b18a |
children |
comparison
equal
deleted
inserted
replaced
1747:7f09d144d15c | 1748:b27bcded6449 |
---|---|
90 like(http_get_length('/', 'foobar'), qr/cl=6 'foobar'/, 'uwsgi body'); | 90 like(http_get_length('/', 'foobar'), qr/cl=6 'foobar'/, 'uwsgi body'); |
91 like(http_get_length('/', ''), qr/cl=0 ''/, 'uwsgi empty body'); | 91 like(http_get_length('/', ''), qr/cl=0 ''/, 'uwsgi empty body'); |
92 | 92 |
93 # rewrite set is used to cache $content_length early | 93 # rewrite set is used to cache $content_length early |
94 | 94 |
95 TODO: { | |
96 local $TODO = 'not yet' unless $t->has_version('1.21.4'); | |
97 | |
98 like(http_get_chunked('/', 'foobar'), qr/cl=6 'foobar'/, 'uwsgi chunked'); | 95 like(http_get_chunked('/', 'foobar'), qr/cl=6 'foobar'/, 'uwsgi chunked'); |
99 like(http_get_chunked('/', ''), qr/cl=0 ''/, 'uwsgi empty chunked'); | 96 like(http_get_chunked('/', ''), qr/cl=0 ''/, 'uwsgi empty chunked'); |
100 | |
101 } | |
102 | 97 |
103 ############################################################################### | 98 ############################################################################### |
104 | 99 |
105 sub http_get_length { | 100 sub http_get_length { |
106 my ($url, $body) = @_; | 101 my ($url, $body) = @_; |