- changed status to resolved
Add CORS headers to 401 response from the BasicAuthentication
Issue #28
resolved
CORS headers are missing from 401 response requesting for username and password:
$ curl -D - http://utopia-suokko.rhcloud.com/api/ HTTP/1.1 401 Unauthorized Date: Sun, 29 Nov 2015 23:33:08 GMT Server: Jetty(9.2.13.v20150730) WWW-Authenticate: basic realm="null" Cache-Control: must-revalidate,no-cache,no-store Content-Type: text/html; charset=ISO-8859-1 Content-Length: 285
<html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 401 </title> </head> <body> <h2>HTTP ERROR: 401</h2> <p>Problem accessing /api/. Reason: <pre> Unauthorized</pre></p> <hr /><i><small>Powered by Jetty://</small></i> </body> </html>
Comments (1)
-
reporter - Log in to comment
The changeset 030f50f3 fixed this issue.