resp.redirect method #3

alejandro opened this Issue Mar 10, 2012 · 0 comments


None yet

1 participant


I'm totally enjoying work with tako. I found that you didn't implement the redirect method in the resp.

For the moment I'm doing this:

resp.redirect =  function(url, status) {
  resp.statusCode = 302
  resp.setHeader('Location', url)

And it's working, but I feel like there is a lot of more options to implement in this method (not an expert), Also I didn't found a bodyParser for inconming request. That will be handy.
I'm really looking forward for it, for this implementation.

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