Version 1.3
If a response contains multiple headers of the same type (common for cache-control, for example), $response->getHeader()
will now return an array of headers instead of just the last occurance of the header. #21
Headers are now stored case-insensitively internally, so it's no longer possible to set duplicate headers if they vary in casing.
Can now do HTTP HEAD requests.
You can now get the request that triggered a cURLException
:
try { /* ... */ } catch (cURLException $e) {
var_dump($e->getRequest());
}