Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add redirect method to http response stream #34

Closed
Marak opened this Issue · 3 comments

4 participants

Pavan Kumar Sunkara Karol Woźniak Maciej Małecki
Marak commented

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

Pavan Kumar Sunkara

+1

Was thinking the same a few days back

Karol Woźniak

+1 here

ヨーント yawnt referenced this issue
Merged

res.redirect() #36

Maciej Małecki

Fixed by #36.

Maciej Małecki mmalecki closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.