muxie icon indicating copy to clipboard operation
muxie copied to clipboard

Handle OPTIONS method

Open julian7 opened this issue 5 years ago • 1 comments

I added a simple way of handling OPTIONS automatically, when MethodHandler is in use.

As a potential update, it should handle duplications gracefully (eg. one should be able to register a method to handle OPTIONS on their own).

julian7 avatar Oct 30 '18 15:10 julian7

Cors example: https://github.com/kataras/muxie/blob/master/_examples/11_cors/main.go

kataras avatar May 16 '20 04:05 kataras