cors_plug v2.0.0 Release Notes
Release Date: 2018-11-06 // over 5 years ago-
- ✨ Enhancements
- Instead of sending
"null"
we don't set the headers at all if the origin doesn't match, as suggested by the CORS draft 7.2. Thanks to @YuLeven for initiating the discussion and @slashmili for fixing it. Since we change the return values I consider this a breaking change and released a new major version. - You can now set the option
send_preflight_response?
tofalse
(it'strue
by default) to stopCorsPlug
sending a response to the frelight request. That way the correct headers are set but it's up to you to respond to the request downstream.
- Instead of sending
- ✨ Enhancements