Mercurial > hg > nginx-tests
comparison fastcgi_body.t @ 898:3f453670bfac
Tests: fastcgi TODOs for chunked request body adjusted.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Thu, 14 Apr 2016 15:45:47 +0300 |
parents | 894e142ebdf8 |
children | 6bb1f2ccd386 |
comparison
equal
deleted
inserted
replaced
897:323ebf087121 | 898:3f453670bfac |
---|---|
58 like(http_get_length('/', ''), qr/X-Body: _eos\x0d?$/ms, 'fastcgi empty body'); | 58 like(http_get_length('/', ''), qr/X-Body: _eos\x0d?$/ms, 'fastcgi empty body'); |
59 like(http_get_length('/', 'foobar'), qr/X-Body: foobar_eos\x0d?$/ms, | 59 like(http_get_length('/', 'foobar'), qr/X-Body: foobar_eos\x0d?$/ms, |
60 'fastcgi body'); | 60 'fastcgi body'); |
61 | 61 |
62 TODO: { | 62 TODO: { |
63 local $TODO = 'not yet'; | 63 local $TODO = 'not yet' unless $t->has_version('1.9.15'); |
64 | 64 |
65 like(http(<<EOF), qr/X-Body: foobar_eos\x0d?$/ms, 'fastcgi chunked'); | 65 like(http(<<EOF), qr/X-Body: foobar_eos\x0d?$/ms, 'fastcgi chunked'); |
66 GET / HTTP/1.1 | 66 GET / HTTP/1.1 |
67 Host: localhost | 67 Host: localhost |
68 Connection: close | 68 Connection: close |