Skip to content

PMHTTP v4.4.0

Compare
Choose a tag to compare
@lilyball lilyball released this 24 Apr 02:43
· 17 commits to master since this release
  • 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, or nil for .unexpectedContentType (#60).
  • Add Obj-C function PMHTTPErrorGetStatusCode() that returns the failing status code for the error, or nil for PMHTTPErrorUnexpectedContentType 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).