X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fsplit_response_001.phpt;fp=tests%2Fsplit_response_001.phpt;h=d67a7a86dda68c4d129495b1bd58a9a193f53d6f;hp=0000000000000000000000000000000000000000;hb=2d5d8aa343778897c7eedb25464a2cb0a789d748;hpb=5853f70523cc38387dc35e2e8b81f2b8b69f909b diff --git a/tests/split_response_001.phpt b/tests/split_response_001.phpt new file mode 100644 index 0000000..d67a7a8 --- /dev/null +++ b/tests/split_response_001.phpt @@ -0,0 +1,24 @@ +--TEST-- +http_split_response() +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Content-type: text/html +X-Powered-By: PHP/%s + +array ( + 0 => + array ( + 'Status' => '200 Ok', + 'Content-Type' => 'text/plain', + 'Content-Language' => 'de-AT', + 'Date' => 'Sat, 22 Jan 2005 18:10:02 GMT', + ), + 1 => 'Hallo Du!', +) \ No newline at end of file