X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FHttpRequest_002.phpt;h=349f1faf38c752e4970fda9c31e7748dfa4493c6;hb=e00740ccbf98e53bc1aa4aad31fa76560a32bfa4;hp=9c9c49ac80004e12629040d9f8c6e94a5793115c;hpb=b2391aa3d1d4bf399b8b5586e9babc515955d96e;p=m6w6%2Fext-http diff --git a/tests/HttpRequest_002.phpt b/tests/HttpRequest_002.phpt index 9c9c49a..349f1fa 100644 --- a/tests/HttpRequest_002.phpt +++ b/tests/HttpRequest_002.phpt @@ -4,13 +4,14 @@ HttpRequest GET/POST --FILE-- send()); +$r->send(); print_r($r->getResponseInfo()); $r->setMethod(HTTP_POST); $r->addPostFields(array('q'=>'foobar','start'=>10)); @@ -21,7 +22,6 @@ var_dump(false != strstr($r->getResponseBody(), "Not Implemented")); ?> --EXPECTF-- %sTEST -bool(true) Array ( [effective_url] => http://www.google.com/ @@ -46,8 +46,7 @@ Array [content_length_upload] => %d [content_type] => %s [httpauth_avail] => %d - [proxyauth_avail] => %d - [num_connects] => %d + [proxyauth_avail] => %s ) int(501) int(501)