I'm not sure why but this library aborts successful options requests ->
|
defer c.AbortWithStatus(cors.optionsResponseStatusCode) |
According to GIN godoc abort prevents handlers from running. this seems like an error to me.
This means that when using the lib, middleware on OPTIONS requests following this can never work.