Mercurial > hg > nginx-tests
comparison http_method.t @ 1937:2a0a6035a1af
Tests: removed TODO and try_run() checks for legacy versions.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Fri, 25 Aug 2023 18:12:08 +0400 |
parents | f3de5730bc06 |
children | c544b7120a6d |
comparison
equal
deleted
inserted
replaced
1936:716d7500317d | 1937:2a0a6035a1af |
---|---|
57 Host: localhost | 57 Host: localhost |
58 Connection: close | 58 Connection: close |
59 | 59 |
60 EOF | 60 EOF |
61 | 61 |
62 TODO: { | |
63 local $TODO = 'not yet' unless $t->has_version('1.21.1'); | |
64 | |
65 like(http(<<EOF), qr/405 Not Allowed(?!.*200 OK)/s, 'connect'); | 62 like(http(<<EOF), qr/405 Not Allowed(?!.*200 OK)/s, 'connect'); |
66 CONNECT / HTTP/1.1 | 63 CONNECT / HTTP/1.1 |
67 Host: localhost | 64 Host: localhost |
68 | 65 |
69 GET / HTTP/1.1 | 66 GET / HTTP/1.1 |
70 Host: localhost | 67 Host: localhost |
71 Connection: close | 68 Connection: close |
72 | 69 |
73 EOF | 70 EOF |
74 | 71 |
75 } | |
76 | |
77 ############################################################################### | 72 ############################################################################### |