Mercurial > hg > nginx-tests
diff js_headers.t @ 1520:9521130f6f22
Tests: js TODO adjusted.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Tue, 15 Oct 2019 19:36:25 +0300 |
parents | 1220f0055135 |
children | b6699ffd9ddd |
line wrap: on
line diff
--- a/js_headers.t +++ b/js_headers.t @@ -185,11 +185,6 @@ EOF ############################################################################### - -TODO: { -local $TODO = 'not yet' - unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.2.8'; - like(http_get('/content_length'), qr/Content-Length: 3/, 'set Content-Length'); like(http_get('/content_type'), qr/Content-Type: text\/xml; charset="utf-8"\r/, @@ -207,6 +202,5 @@ like(http_get('/hdr_out?foo=123&bar=copy unlike(http_get('/hdr_out?bar=empty'), qr/Bar:/, 'r.headersOut empty'); unlike(http_get('/hdr_out?foo='), qr/Foo:/, 'r.headersOut no value'); unlike(http_get('/hdr_out?foo'), qr/Foo:/, 'r.headersOut no value 2'); -} ###############################################################################