--TEST-- HttpRequest GET --SKIPIF-- (int) PHP_VERSION) and die('skip PHP5 is required for Http classes'); ?> --FILE-- send()); print_r($r->getResponseInfo()); ?> --EXPECTF-- Content-type: text/html X-Powered-By: PHP/%s bool(true) Array ( [effective_url] => http://www.google.com/ [response_code] => %d [http_connectcode] => %d [filetime] => %s [total_time] => %f [namelookup_time] => %f [connect_time] => %f [pretransfer_time] => %f [starttransfer_time] => %f [redirect_time] => %f [redirect_count] => %f [size_upload] => %f [size_download] => %d [speed_download] => %d [speed_upload] => %d [header_size] => %d [request_size] => %d [ssl_verifyresult] => %d [content_length_download] => %d [content_length_upload] => %d [content_type] => %s [httpauth_avail] => %d [proxyauth_avail] => %d [num_connects] => %d )