Add redirect method to http response stream #34

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

4 participants

@Marak

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

+1

Was thinking the same a few days back

@KenjiTakahashi

+1 here

@yawnt yawnt referenced this issue Jul 15, 2012
Merged

res.redirect() #36

@mmalecki

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