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

Support http OPTIONS method used by Firefox/Safari on Cross Domain requests #46

Closed
araddon opened this issue Dec 22, 2009 · 0 comments
Closed

Comments

@araddon
Copy link

araddon commented Dec 22, 2009

I was running into issues with a JSON Api I was building for cross domain requests coming from Firefox/Safari that were sending an HTTP OPTIONS pre-flight request before sending the http get. See https://developer.mozilla.org/en/HTTP_access_control

My Fix http://github.com/araddon/tornado/commit/d91deae5f22e6d0cd3b86d5b960729ae004bd394

I was able to get Firefox/Safari to work correctly by implementing an "options" method on my handler similar to get/post but actually just returning nothing.

eklitzke pushed a commit to eklitzke/tornado that referenced this issue Jun 12, 2011
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

1 participant