Jon Shier

Results 163 comments of Jon Shier

All of that seems unnecessary. The easiest way to reset the keychain for a particular app (on iOS at least) is simply to perform a general query of all keychain...

I also need the data, as I have an API which returns a JWT body for certain responses, which I would like to feed to `JSONDecoder`. For now I've forked...

Using URL encoding for body is pretty rare, which is why this feature wasn't built initially. Are you sure you can't use JSON? In any event, this looks doable, but...

Another question is how to handle `nil` in the first place. Vapor's [`URLEncodedFormEncoder`](https://github.com/vapor/vapor/blob/d9426fae32602f0d3ae1aff4d8fa5ec6be471afe/Sources/Vapor/URLEncodedForm/URLEncodedFormEncoder.swift) just skips `nil` values altogether. I'm tempted to go that direction rather than sending explicit `null` values,...

I've added a `NilEncoding` type on the `feature/nil-encoding` branch, feel free to give it a try. If you need `null` values, create your own instance of the parameter encoding configured...

Looking at it again, it definitely looks like your example output is JSON, not a form encoding. That encoding is up to `JSONEncoder` which I don't believe offers a configuration...

I'll do it once I decide whether or not to ship the `NilEncoding` work.

Thanks for the detailed report. How many requests are we talking about before a failure occurs? And your server logs show that the request is actually made, it just never...

Can you share the code you're using to enqueue requests onto the `OperationQueue`? I set up a simple test and repeatedly ran 100,000 requests to a local test server without...