This extracts response code, headers, cookies and decodes body if it was encoded in some way
Return: true on success, PEAR_Error in case of malformed response
Throws: PEAR_Error
Access: public
Parameters:
bool
$saveBody
—
Whether to store response body in object property, set this to false if downloading a LARGE file and using a Listener. This is assumed to be true if body is gzip-encoded.
bool
$canHaveBody
—
Whether the response can actually have a message-body. Will be set to false for HEAD requests.