Sec-Fetch-Site

O cabeçalho de busca de metadados Sec-Fetch-Site indica a relação entre a origem do iniciador da requisição e a origem do recurso.

Header type Fetch Metadata Request Header (en-US)
Forbidden header name yes, since it has prefix Sec-
CORS-safelisted response header (en-US)
CORS-safelisted request header (en-US)

Syntax

Sec-Fetch-Site: cross-site
Sec-Fetch-Site: same-origin
Sec-Fetch-Site: same-site
Sec-Fetch-Site: none

Values

cross-site

same-origin

same-site

none

This request does not relate to any context like site, origin, or frame. This can happen when user had initiated this request by, e.g. directly entering a URL in the address bar, opening a bookmark, or draging-and-dropping a file into the browser window.

Examples

TODO

Specifications

Specification Title
Fetch Metadata Request Headers The Sec-Fetch-Site HTTP Request Header

Compatibilidade com navegadores

BCD tables only load in the browser

See also