X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fparse_message_001.phpt;h=84c874c12392fac8b0c05a77a39aab5c791864a2;hp=ac31338ebbfb90822afa14274a6c2da9d76914c4;hb=db5299a8b005bf625b4e34666b48e6cce8990482;hpb=976c6c8c58c93c4ab74e9c23e1cf5b31b2b1bd78 diff --git a/tests/parse_message_001.phpt b/tests/parse_message_001.phpt index ac31338..84c874c 100644 --- a/tests/parse_message_001.phpt +++ b/tests/parse_message_001.phpt @@ -9,7 +9,8 @@ skipif(!http_support(HTTP_SUPPORT_REQUESTS), 'need curl support'); --FILE-- body; +$m = http_parse_message(http_get('http://www.google.com')); +echo $m->body; echo "Done\n"; --EXPECTF-- %sTEST