Sec-Fetch-User

Draft

This page is not complete.

The Sec-Fetch-User fetch metadata header indicates whether or not a navigation request was triggered by a user activation.

Header type Fetch Metadata Request Header
Forbidden header name yes, since it has prefix Sec-
CORS-safelisted request header

Syntax

Sec-Fetch-User: ?0
Sec-Fetch-User: ?1

Values

The value is a Boolean Structured Header.

?0
The navigation request was triggered by a user activation.
?1
The navigation request was triggered by something other than a user activation.

Examples

TODO

Specifications

Specification Status Comment
Fetch Metadata Request Headers
The definition of 'Sec-Fetch-User' in that specification.
Editor's Draft Initial definition

Browser compatibility

BCD tables only load in the browser

See also