gin-contrib / cors

Official CORS gin's middleware
https://gin-gonic.github.io/gin/
MIT License
1.79k stars 186 forks source link

The response to the OPTIONS request does not contain the CORS headers #17

Closed delmorof closed 7 years ago

delmorof commented 7 years ago

After adding the cors middleware, OPTIONS requests return with code 200 but without the CORS headers.