guzzle/guzzle — pull request #137 by felixalias (2012-09-25 21:52:16+00:00)
Title: Restore Response::getInfo functionality when curl.debug is disabled

Previous to this patch, a request's curl info would not be updated because CurlHandle::updateRequestFromTransfer breaks before setInfo is called on the response. This is because the handle checks for both a response and curl debug logging at the same time, when in fact setInfo should always be called when, at minimum, a response object is available. A unit test for this bug is included.

Cheers,
Felix