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

redirect doesnt work #2

Closed
mikz opened this issue Dec 13, 2009 · 2 comments
Closed

redirect doesnt work #2

mikz opened this issue Dec 13, 2009 · 2 comments

Comments

@mikz
Copy link

mikz commented Dec 13, 2009

redirect throws unhandled exception

Sinatra v 0.9.4

@igorsokolov
Copy link

There is a dirty solution for doing redirect inside async methods:
response.status = 302
response.headers['Location'] = 'http://google.com'
body ''

@raggi
Copy link
Owner

raggi commented Sep 8, 2010

Fixed a while ago, added more coverage.

This issue was closed.
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