671f640b9c2ae31caedd77236d46c712c3948d3f
2 $r = new HttpRequest('http://www.google.com/search');
4 // store Googles cookies in a dedicated file
7 array( 'cookiestore' => 'google.txt',
12 array( 'q' => '+"pecl_http" -msg -cvs -list',
17 // HttpRequest::send() returns an HttpMessage object
18 // of type HttpMessage::RESPONSE or throws an exception
20 print $r->send()->getBody();
21 } catch (HttpException
$e) {