CORS · Response header
Access-Control-Allow-Headers
Which request headers may be used in the actual cross-origin request.
What is Access-Control-Allow-Headers?
Sent in preflight responses to whitelist non-simple request headers (like Authorization, Content-Type: application/json).
Typical usage
Set on OPTIONS preflight responses.
Examples
Access-Control-Allow-Headers: Content-Type, AuthorizationSpecification
Fetch Standard §CORS
Related headers
Access-Control-Allow-Origin
Which origins may read this response cross-origin.
Access-Control-Allow-Methods
Which HTTP methods are allowed on the cross-origin resource.
Access-Control-Allow-Credentials
Whether cookies and Authorization can be sent cross-origin.
Access-Control-Max-Age
How long the browser may cache the preflight response.
Origin
The origin (scheme + host + port) of the request.