Mercurial > hg > nginx-tests
comparison body.t @ 537:202de1d281e5
Tests: whitespace fixes.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Tue, 24 Mar 2015 14:44:32 +0300 |
parents | 1a6eef7ac914 |
children | e9064d691790 |
comparison
equal
deleted
inserted
replaced
536:c2481c6b748f | 537:202de1d281e5 |
---|---|
122 qr/X-Body: (0123456789){128}\x0d?$/ms, 'body in single buffer'); | 122 qr/X-Body: (0123456789){128}\x0d?$/ms, 'body in single buffer'); |
123 | 123 |
124 # pipelined requests | 124 # pipelined requests |
125 | 125 |
126 like(http_get_body('/', '0123456789', '0123456789' x 128, '0123456789' x 512, | 126 like(http_get_body('/', '0123456789', '0123456789' x 128, '0123456789' x 512, |
127 'foobar'), qr/X-Body: foobar\x0d?$/ms, 'body pipelined'); | 127 'foobar'), qr/X-Body: foobar\x0d?$/ms, 'body pipelined'); |
128 like(http_get_body('/', '0123456789' x 128, '0123456789' x 512, '0123456789', | 128 like(http_get_body('/', '0123456789' x 128, '0123456789' x 512, '0123456789', |
129 'foobar'), qr/X-Body: foobar\x0d?$/ms, 'body pipelined 2'); | 129 'foobar'), qr/X-Body: foobar\x0d?$/ms, 'body pipelined 2'); |
130 | 130 |
131 like(http_get_body('/discard', '0123456789', '0123456789' x 128, | 131 like(http_get_body('/discard', '0123456789', '0123456789' x 128, |
132 '0123456789' x 512, 'foobar'), qr/(TEST.*){4}/ms, | 132 '0123456789' x 512, 'foobar'), qr/(TEST.*){4}/ms, |
133 'body discard'); | 133 'body discard'); |
134 like(http_get_body('/discard', '0123456789' x 128, '0123456789' x 512, | 134 like(http_get_body('/discard', '0123456789' x 128, '0123456789' x 512, |