--- title: Sec-Fetch-Site slug: Web/HTTP/Headers/Sec-Fetch-Site translation_of: Web/HTTP/Headers/Sec-Fetch-Site ---

{{HTTPSidebar}}{{Draft}}

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 {{Glossary("Fetch Metadata Request Header")}}
{{Glossary("Forbidden header name")}} yes, since it has prefix Sec-
{{Glossary("CORS-safelisted response header")}}
{{Glossary("CORS-safelisted request header")}}

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

{{Compat("http.headers.Sec-Fetch-Site")}}

See also