Expand description
Cross-origin resource sharing (specification section 8).
Structs§
- Cors
Policy - A cross-origin policy.
Constants§
- DEFAULT_
ALLOWED_ HEADERS - Headers a browser must be allowed to send to negotiate Links Notation.
- DEFAULT_
EXPOSED_ HEADERS - Headers a browser must be allowed to read to follow the protocol.
- DEFAULT_
METHODS - Methods a browser may use unless the policy narrows them.
Functions§
- cors_
headers - Build the CORS response headers for a request.