Skip to content
This repository has been archived by the owner on Nov 22, 2018. It is now read-only.

Log when we see an OPTIONS without AccessControlRequestMethod #113

Closed
rynowak opened this issue Jun 14, 2017 · 1 comment
Closed

Log when we see an OPTIONS without AccessControlRequestMethod #113

rynowak opened this issue Jun 14, 2017 · 1 comment

Comments

@rynowak
Copy link
Member

rynowak commented Jun 14, 2017

Right here, we ignore an OPTIONS request without the AccessControlRequestMethod header, and treat it as a non-preflight request.

We should log specifically when this happens, it's important to know why in this case the request is being treated as non-preflight.

What will typically happen is that your CORS-ing in front of an API, and that API won't support OPTIONS, so you get a 404.

@aspnet-hello
Copy link

This issue was moved to dotnet/aspnetcore#2375

@aspnet aspnet locked and limited conversation to collaborators Jan 1, 2018
@aspnet-hello aspnet-hello removed this from the 2.1.0-preview1 milestone Jan 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants