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

When no results found, the CORS headers are not added to response #200

Open
volkanunsal opened this issue Mar 3, 2015 · 2 comments
Open

Comments

@volkanunsal
Copy link

Good example is this url:

http://codeforamerica.org/api/projects?category=123

Not only does this return a 500 error in the console, the CORS headers are not added to the response either.

@volkanunsal
Copy link
Author

I see that the actual parameter should be categories. But still, not returning CORS headers and throwing a 500 error is bad.

@tmaybe
Copy link
Collaborator

tmaybe commented Mar 11, 2015

This stackoverflow comment seems to describe the issue, I'll see if I can figure out a solution that doesn't require a Flask extension.

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

2 participants