X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fenvrequestheader001.phpt;h=bfc9ccbd3db4c81e9f36c3af4b92e23e0826cd3e;hb=50cd890d66600536877b335def7e2c6b1612f029;hp=2a6a9400bd95918d9ad429141538336ce5b6a38d;hpb=61067d19cf03ad876954c2644ff9e37942b2ad67;p=m6w6%2Fext-http 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" }