PMHTTP
PMHTTP copied to clipboard
Swift/Obj-C HTTP framework with a focus on REST and JSON
We should expose the equivalent of `.retryNetworkFailure(withCustomStrategy:)` and `retryNetworkFailureOrServiceUnavailable(withCustomStrategy:)` to Obj-C.
Currently when asking the mock manager to intercept unmocked requests, it does so by making them return a 500 Internal Server Error. We may want to change this to return...
Right now request parse blocks run on `.utility` (unless `request.userInitiated == true`, then it runs on the `.userInitiated` queue). We should probably change that to `.default` instead, and have some...
The documentation on the request hierarchy should mention `HTTPManagerRequestPerformable`.
Right now the mock manager has 2 properties to control whether it intercepts unmocked requests, one for requests within the environment and one for requests outside (the idea being that...
Right now we set a single global environment on the `HTTPManager`, and then tie a number of defaults to it. This is convenient for simple setups, but doesn't work well...
We should probably have a way to attach a block to a request that can be used to customize the final `URLRequest` immediately prior to handing it to `URLSession`. This...
We should have a way to create an upload request that takes an `Encodable` type and encodes it to JSON. It should ideally do this asynchronously (see #32).
We should support a way to have a POST/PUT that constructs its data asynchronously (and vends it as a `bodyStream`). Multipart uploads can already do this, but we don't have...