Provides directives that implement the CORS mechanism, enabling cross origin requests.
Rejection created when a CORS request was invalid.
Rejection created when a CORS request was invalid. In case of a preflight request, one to three of the causes can be marked as invalid. In case of an actual request, only the origin can be marked as invalid.
Note: when the three causes are None
, the request itself was invalid. For example
the Origin
header can be missing.
Settings used by the CORS directives.
Provides directives that implement the CORS mechanism, enabling cross origin requests.
RFC 6454.
CORS W3C Recommendation.