You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
out=$(curl -v $base/etag/ -H 'If-None-Match: "_"'2>&1); match "HTTP/.* 304"&& notmatch -i "Content-Length"&& match -iP "Etag: \"_\""
103
103
out=$(curl -v $base/etag/a 2>&1); match "HTTP/.* 200"&& match -iP "Content-Length: 2[\r\n]"&& match -iP "Etag: \"a\""
104
-
out=$(curl -v $base/etag/a -H 'If-None-Match: "a"'2>&1); skipif "Server: ReactPHP"&& skipif "Server: Apache"&& match "HTTP/.* 304"&& match -iP "Content-Length: 2[\r\n]"&& match -iP "Etag: \"a\""# skip built-in webserver (always includes Content-Length: 0) and Apache (no Content-Length)
104
+
out=$(curl -v $base/etag/a -H 'If-None-Match: "a"'2>&1); skipif "Server: Apache"&& match "HTTP/.* 304"&& match -iP "Content-Length: 2[\r\n]"&& match -iP "Etag: \"a\""# skip Apache (no Content-Length)
105
105
106
106
out=$(curl -v $base/headers -H 'Accept: text/html'2>&1); match "HTTP/.* 200"&& match "\"Accept\": \"text/html\""
107
107
out=$(curl -v $base/headers -d 'name=Alice'2>&1); match "HTTP/.* 200"&& match "\"Content-Type\": \"application/x-www-form-urlencoded\""&& match "\"Content-Length\": \"10\""
0 commit comments