BTBurke / caddy-jwt

JWT middleware for the Caddy server
MIT License
113 stars 40 forks source link

add passthru for OPTIONS requests to a matched path #30

Closed f5io closed 6 years ago

f5io commented 6 years ago

The specification for cors preflight requests states that credentials should not be sent with OPTIONS requests. This PR allows for OPTIONS requests to pass through.

Any questions or comments regarding this PR, please let me know. Thanks :)

BTBurke commented 6 years ago

Thanks for the contribution! This is merged and deployed as v3.1.0.

f5io commented 6 years ago

Massively appreciate the prompt merge, thanks! :)