gin-contrib / cors

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

Duplicate headers #28

Closed cryptiklemur closed 4 years ago

cryptiklemur commented 7 years ago

I'm seeing duplicate cors headers on some of my requests:

image

I'm also using a cache middleware, so my guess is, the cached request already has the headers and cors is just adding them again?