docs.rodeo

MDN Web Docs mirror

CORS-safelisted request header

{{GlossarySidebar}} 

A CORS-safelisted request header (also known as “simple header”) is one of the following HTTP headers:

When containing only these headers (and values that meet the additional requirements laid out below), a request doesn’t need to send a {{glossary("preflight request")}}  in the context of {{Glossary("CORS")}} .

You can safelist more headers using the {{HTTPHeader("Access-Control-Allow-Headers")}}  header and also list the above headers there to circumvent the following additional restrictions.

Additional restrictions

CORS-safelisted headers must also fulfill the following requirements in order to be a CORS-safelisted request header:

See also

In this article

View on MDN