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

response.redirect(url) should set the statusCode to 302. #25

Closed
samking opened this issue Nov 24, 2014 · 2 comments
Closed

response.redirect(url) should set the statusCode to 302. #25

samking opened this issue Nov 24, 2014 · 2 comments

Comments

@samking
Copy link

samking commented Nov 24, 2014

Currently, redirect() without a statusCode will leave the statusCode as -1. However, a redirect will, in practice, default to a 302.

@estilles
Copy link

estilles commented Mar 1, 2015

Submitted PR #36 to fix this issue.

@howardabrams
Copy link
Collaborator

Thanks. Added to v1.2.5 that has been published to NPM.

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

3 participants