Skip to content

PMHTTP v4.1.0

Compare
Choose a tag to compare
@lilyball lilyball released this 16 Jun 05:24
· 65 commits to master since this release
  • Support mocking relative URLs when no environment has been set.
  • Shrink the default mock delay to 10ms.
  • Make HTTPManagerRequest.headerFields mutable in Obj-C.
  • Add HTTPManager.defaultHeaderFields which defines the default header fields to attach to requests and, like defaultAuth, only applies to requests within the current environment.
  • Declare conformance to Equatable for HTTPManagerRequest.HTTPHeaders.
  • Fix fatal error when using deferred multipart bodies along with serverRequiresContentLength.
  • Add HTTPManager.metricsCallback to collect task metrics (URLSessionTaskMetrics) from all tasks associated with the HTTPManager.