X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fenvrequestheader001.phpt;h=bfc9ccbd3db4c81e9f36c3af4b92e23e0826cd3e;hp=2a6a9400bd95918d9ad429141538336ce5b6a38d;hb=cc0b99e66062267073dff424fb9522f9c6933e28;hpb=61067d19cf03ad876954c2644ff9e37942b2ad67 diff --git a/tests/envrequestheader001.phpt b/tests/envrequestheader001.phpt index 2a6a940..bfc9ccb 100644 --- a/tests/envrequestheader001.phpt +++ b/tests/envrequestheader001.phpt @@ -1,30 +1,33 @@ --TEST-- -request header +env request header --SKIPIF-- - --POST-- a=b --ENV-- HTTP_HOST=foo.bar HTTP_ACCEPT=*/* --FILE-- - --EXPECTF-- NULL string(%d) "foo.bar" string(%d) "application/x-www-form-urlencoded" array(4) { - ["Host"]=> - string(7) "foo.bar" ["Accept"]=> string(3) "*/*" ["Content-Length"]=> string(1) "3" ["Content-Type"]=> string(33) "application/x-www-form-urlencoded" + ["Host"]=> + string(7) "foo.bar" }