6 (5 > (int) PHP_VERSION) and die('skip PHP5 is required for HTTPi');
10 $r = new HTTPi_Request('http://localhost', HTTP_GET);
12 print_r($r->getResponseInfo());
15 Content-type: text/html
21 [effective_url] => http://localhost/
22 [response_code] => 200
23 [http_connectcode] => 0
26 [namelookup_time] => %f
28 [pretransfer_time] => %f
29 [starttransfer_time] => %f
31 [redirect_count] => %f
34 [speed_download] => %d
38 [ssl_verifyresult] => %d
39 [content_length_download] => %d
40 [content_length_upload] => %d
41 [content_type] => text/html%s
42 [httpauth_avail] => %d
43 [proxyauth_avail] => %d