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

CorsMiddleware returns 204 for preflight request #2542

Closed
sandorfr opened this issue May 11, 2015 · 2 comments
Closed

CorsMiddleware returns 204 for preflight request #2542

sandorfr opened this issue May 11, 2015 · 2 comments
Labels

Comments

@sandorfr
Copy link

Looks like the current implementation of cors return a 204 for preflight request and it looks like Chrome considers any non-200 being a failure.
Doing some quick research on the web I've seen that there is discussions about what should be the good behavior but what I'm sure of is that we need that to just work.
Maybe we should be able to configure it?

@harshgMSFT
Copy link
Contributor

204 is no content and is the right behavior for the middleware.chrome should display no content 😊 for this status code. Can you please post your request and response.

@danroth27
Copy link
Member

Moved to aspnet/CORS#19.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants