X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Frequest_gzip.phpt;h=cf734aeee17ace5e15dc6cc0a6dbe8800edbbf36;hp=6f78eda51a9f228da32ae27ef3ee047ea7627ab5;hb=addc97f0d58f4234080f520703c11b1d24940d3a;hpb=26591cefa8d85dced14547a0fb621b9a289ef2de diff --git a/tests/request_gzip.phpt b/tests/request_gzip.phpt index 6f78eda..cf734ae 100644 --- a/tests/request_gzip.phpt +++ b/tests/request_gzip.phpt @@ -10,12 +10,12 @@ skipif(!http_support(HTTP_SUPPORT_REQUESTS), 'need curl support'); true)))); +var_dump(http_parse_message(http_get('http://dev.iworks.at/ext-http/.print_request.php?gzip=1', array('compress' => true)))); echo "Done\n"; --EXPECTF-- -%sTEST -object(stdClass)#%d (%d) { +%aTEST +object(stdClass)%a { ["type"]=> int(2) ["httpVersion"]=> @@ -25,8 +25,8 @@ object(stdClass)#%d (%d) { ["responseStatus"]=> string(2) "OK" ["headers"]=> - array(8) { - %s + array(%d) { + %a ["Vary"]=> string(15) "Accept-Encoding" ["Content-Length"]=>