Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Implementation is Inconsistent With OS Behavior #124

Open
paudav opened this issue Jul 17, 2015 · 0 comments
Open

Redirect Implementation is Inconsistent With OS Behavior #124

paudav opened this issue Jul 17, 2015 · 0 comments

Comments

@paudav
Copy link

paudav commented Jul 17, 2015

I haven't mapped out every scenario, but at least in the case of 307 and 308 redirects, Nocilla doesn't preserve the original request verb or body in the newly created redirect request.

This is inconsistent with OS behavior, and requires a developer wishing to test redirects to compensate with custom redirect following logic in their connection delegate.

I'm also not sure what happens when the responding server replies with a redirect status code but does not include a "Location" header. In Nocilla, this results in a crash (#120), which is probably also not how the OS behaves. 😄

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

No branches or pull requests

1 participant