daltoniam / SwiftHTTP

Thin wrapper around NSURLSession in swift. Simplifies HTTP requests.
Apache License 2.0
1.88k stars 313 forks source link

Return URLRequest from globalRequest handler #282

Closed sdduursma closed 6 years ago

sdduursma commented 7 years ago

This allows requests to be modified again, fixing #280.

daltoniam commented 6 years ago

Thanks for the PR! I ended up doing this a tad different and just made the URLRequest a reference as to avoid another copy and keep the method signature the same. Again, thanks for the PR and 3.0.1 has been released with this fix!

sdduursma commented 6 years ago

Okay, this works fine for us as well. Thanks for the update.