Issue Type: Bug Created: 2011-01-11T02:36:36.000+0000 Last Updated: 2012-08-31T08:55:59.000+0000 Status: Open Fix version(s): Reporter: Joseph Hopfgartner (joehopf) Assignee: Shahar Evron (shahar) Tags: - Zend_Http_Client
Related issues: Attachments:
To reproduce the error, use the HTTP Client to do a HEAD request to a url that contains a Header-Location redirect.
The HTTP Client then follows the redirects until the maximum redirect count is reached, but sets all variables according to the new url, included the method hardcoded to GET (not to HEAD).
$m = $this->method;
fixes the problem.
Additionally, if the file at the source is too big, so that an error occours, it is not displayed when doing a HEAD request that gets converted to GET. The client script just terminates with no error or message, even with maximum error reporting and display errors.
No comments to display
Have you found an issue?
See the Overview section for more details.