[BUG] OPTIONS request for a httpmaid not configured for CORS should respond with 200 and no Access-Control-Request-* response header (aka deny by default) #82
Labels
bug
Something isn't working
Describe the bug
Right now, an http maid where I did not configure CORS with CorsConfigurators will return an HTTP 500 for a path that is otherwise recognized (albeit for a different method)
To Reproduce
client request:
server output:
Expected behavior
If the path is known, and CORS is not configured, it should deny by default.
According to https://www.html5rocks.com/en/tutorials/cors/#toc-handling-a-not-so-simple-request, denial looks like this:
Note: Using regular expressions to express input classes
When Cors has not been configured
request:
response:
The text was updated successfully, but these errors were encountered: