PMHTTP icon indicating copy to clipboard operation
PMHTTP copied to clipboard

Swift/Obj-C HTTP framework with a focus on REST and JSON

Results 16 PMHTTP issues
Sort by recently updated
recently updated
newest added

In macOS 10.13 / iOS 11, `URLSessionConfiguration` has a new property `waitsForConnectivity`. This should work just fine with PMHTTP. It also has a new delegate method `urlSession(_:taskIsWaitingForConnectivity:)`. It might be...

enhancement
TODO

We now have the `HTTPAuth` infrastructure so people can roll their own. But it would be nice if we had an already-written full implementation of OAuth2, including bearer tokens, so...

enhancement
TODO

We should support creation of download tasks. This would probably be another request type that's a sibling of `HTTPManagerParseRequest`, implemented similarly to `HTTPManagerParseRequest` except it has a download callback that's...

enhancement
TODO

Our current mechanism for handling request headers is to normalize header names when inserting or looking them up. This means that you can say ``` swift request.headerFields["content-type"] = "application/json" assert(request.headerFields["Content-Type"]...

enhancement
TODO

We should turn `HTTPManagerRetryBehavior.Strategy` into a `struct` so we can merge the custom retry behavior into it. This could alternatively be done with a new `.custom` case, but by turning...

enhancement
TODO