gin wrapper default status
Limm-jk opened this issue · 1 comments
Limm-jk commented
I feel strange that the response status code for the preflight request in the gin wrapper is fixed at 200.
I wonder if we can solve it as follows, but I'm curious about your opinion.
- Fix it to 204 because the internal default value is 204
- Save to corsWrapper like OptionPasstrough
- Create a getter in the Cors structure
If you let me know your opinion, I would like to revise it and make a PR. I'm using it so well! Thank you always.