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/headers -H 'Empty;'2>&1); match "HTTP/.* 200"&& match "\"Empty\": \"\""
122
125
out=$(curl -v $base/headers -H 'Content-Type;'2>&1); skipif "Server: Apache"&& match "HTTP/.* 200"&& match "\"Content-Type\": \"\""# skip Apache (discards empty Content-Type)
123
126
out=$(curl -v $base/headers -H 'DNT: 1'2>&1); skipif "Server: nginx"&& match "HTTP/.* 200"&& match "\"DNT\""&& notmatch "\"Dnt\""# skip nginx which doesn't report original case (DNT->Dnt)
124
-
out=$(curl -v $base/headers -H 'V: a' -H 'V: b'2>&1); skipif "Server: nginx"&&skipif -v"Server:"&& match "HTTP/.* 200"&& match "\"V\": \"a, b\""# skip nginx (last only) and PHP webserver (first only)
127
+
out=$(curl -v $base/headers -H 'V: a' -H 'V: b'2>&1); skipif "Server: nginx"&&skipifnot"Server:"&& match "HTTP/.* 200"&& match "\"V\": \"a, b\""# skip nginx (last only) and PHP webserver (first only)
125
128
126
129
out=$(curl -v $base/set-cookie 2>&1); match "HTTP/.* 200"&& match "Set-Cookie: 1=1"&& match "Set-Cookie: 2=2"
0 commit comments