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.
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.