Mercurial > hg > nginx-tests
diff js_subrequests.t @ 1544:53ed2231403b
Tests: js TODO adjusted.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Thu, 16 Jan 2020 19:15:25 +0300 |
parents | 0b97d431571f |
children | cde406e61e48 |
line wrap: on
line diff
--- a/js_subrequests.t +++ b/js_subrequests.t @@ -432,15 +432,7 @@ is(get_json('/sr'), '[{"status":404,"uri is(get_json('/sr_args'), '{"h":"xxx"}', 'sr_args'); is(get_json('/sr_options_args'), '{"h":"xxx"}', 'sr_options_args'); is(get_json('/sr_options_method?m=POST'), '["POST"]', 'sr method POST'); - -TODO: { -local $TODO = 'not yet' - unless http_get('/njs') =~ /^([.0-9]+)$/m && $1 ge '0.3.3'; - is(get_json('/sr_options_method?m=PURGE'), '["PURGE"]', 'sr method PURGE'); - -} - is(get_json('/sr_options_body'), '["REQ-BODY"]', 'sr_options_body'); is(get_json('/sr_options_method_head'), '{"c":200,"s":0}', 'sr_options_method_head');