import { type FetchMetadataRequestHeaders } from "https://deno.land/x/keywork@v6.2.1/http/headers/mod.ts";
Provides information about the context from which the request originated. This allows a server to make decisions about whether a request should be allowed based on where the request came from and how the resource will be used.
Properties
It is a request header that indicates the relationship between a request initiator's origin and its target's origin. It is a Structured Header whose value is a token with possible values cross-site
, same-origin
, same-site
, and none
.
It is a request header that indicates the request's mode to a server. It is a Structured Header whose value is a token with possible values cors
, navigate
, no-cors
, same-origin
, and websocket
.
It is a request header that indicates whether or not a navigation request was triggered by user activation. It is a Structured Header whose value is a boolean so possible values are ?0
for false and ?1
for true.
It is a request header that indicates the request's destination to a server. It is a Structured Header whose value is a token with possible values audio
, audioworklet
, document
, embed
, empty
, font
, image
, manifest
, object
, paintworklet
, report
, script
, serviceworker
, sharedworker
, style
, track
, video
, worker
, and xslt
.