Releases
v0.99.47
lkrms
released this
05 Sep 03:33
Changed
Console
Adopt "^ " instead of "? " as the default warning message prefix
Curler
Rename CurlerHttpArchiveRecorder
to CurlerHarRecorder
Follow Location
headers in Curler
instead of enabling cURL's CURLOPT_FOLLOWLOCATION
option
This allows CurlerHarRecorder
to be used when following redirects
It will also allow redirect behaviour, including caching, to be customised in a future release
Throw TooManyRedirectsException
if MaxRedirects
is exceeded in Curler
Improve cache stability by serializing header values, not HttpHeaders
instances, when caching responses in Curler
Don't silently remove query and fragment from request URI in Curler::withRequest()
An exception is now thrown if the given URI has a query or fragment
Fixed
Curler
Fix issue where Curler
response cache resolves equivalent requests separately if one has an empty path and the other path is "/"
Fix Curler
issue where HTTP error responses are cached if they are not thrown
Fix Curler
issue where request bodies larger than 2MiB are not rewound when they are retried after "429 Too Many Requests"
An exception is now thrown if a request body cannot be rewound after redirection or "429 Too Many Requests"
Fix Curler
issue where multiple response bodies may be returned as one when a request is retried after "429 Too Many Requests"
You can’t perform that action at this time.