Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

Handle HTTP Redirects #45

Open
ghost opened this issue Feb 20, 2017 · 1 comment
Open

Handle HTTP Redirects #45

ghost opened this issue Feb 20, 2017 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 20, 2017

Attempt to handle HTTP redirects nicely rather than immediately failing with a NetworkError.failedRequest(status:).

Reference: https://developer.github.com/v3/#http-redirects

@ghost
Copy link
Author

ghost commented Mar 1, 2017

We can get notified via a delegate to respond to redirects. Looks like the bulk of the work of constructing the new request is done for you. However, it does not appear to include the Authorization header.

References:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

0 participants