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

CORS headers are not sent on server error #352

Open
jjmontesl opened this issue Jun 1, 2016 · 0 comments
Open

CORS headers are not sent on server error #352

jjmontesl opened this issue Jun 1, 2016 · 0 comments

Comments

@jjmontesl
Copy link
Contributor

When server fails with an uncaught exception (there are some, ie. due to wrong model configuration or backend problems), it sends a 500 status code (server error) but does not include CORS headers, causing clients to fail without knowing the actual cause of the issue.

CORS headers shall be included regardless of the response status code.

@jjmontesl jjmontesl changed the title CORS headers are not send on server error CORS headers are not sent on server error Jun 1, 2016
@Stiivi Stiivi added this to the 1.1.1 milestone Jun 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants