PMHTTP v4.4.0 Release Notes
Release Date: 2019-04-24 // almost 5 years ago-
- 🛠 Fix a bug when parsing images where we passed the wrong value for the type identifier hint, resulting in a warning being logged to the console (#62).
- ➕ Add computed properties on
HTTPManagerError
for convenient access to the associated values (e.g..response
,.body
, etc). - ➕ Add computed property
HTTPManagerError.statusCode
that returns the failing status code for the error, ornil
for.unexpectedContentType
(#60). - ➕ Add Obj-C function
PMHTTPErrorGetStatusCode()
that returns the failing status code for the error, ornil
forPMHTTPErrorUnexpectedContentType
or for non-PMHTTP errors (#60). - Provide
PMHTTPStatusCodeErrorKey
user info key for more error types (#59). - ➕ Add computed property
URLResponse.isUnmockedInterceptedRequest
that can be used to test if a response comes from a request that was intercepted by the mock manager without a mock installed (#46).