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

Add redirect method to http response stream #34

Closed
Marak opened this Issue Jul 3, 2012 · 3 comments

Comments

Projects
None yet
4 participants
@Marak
Contributor

Marak commented Jul 3, 2012

There appears to be no way in the Flatiron stack to do a simple 301 or 302 HTTP redirect.

This should probably be added to https://github.com/flatiron/union/blob/master/lib/response-stream.js

To find any example of doing redirects in node, see: https://github.com/visionmedia/express/blob/master/lib/response.js#L529

@pksunkara

This comment has been minimized.

Show comment
Hide comment
@pksunkara

pksunkara Jul 3, 2012

Contributor

+1

Was thinking the same a few days back

Contributor

pksunkara commented Jul 3, 2012

+1

Was thinking the same a few days back

@KenjiTakahashi

This comment has been minimized.

Show comment
Hide comment
@KenjiTakahashi

KenjiTakahashi commented Jul 13, 2012

+1 here

@yawnt yawnt referenced this issue Jul 15, 2012

Merged

res.redirect() #36

@mmalecki

This comment has been minimized.

Show comment
Hide comment
@mmalecki

mmalecki Jul 21, 2012

Contributor

Fixed by #36.

Contributor

mmalecki commented Jul 21, 2012

Fixed by #36.

@mmalecki mmalecki closed this Jul 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment