DevKits

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, Authorization

Specification

Fetch Standard §CORS

Related headers