Supports-Loading-Mode header
The HTTP Supports-Loading-Mode response header allows a response to opt-in to being loaded in a novel, higher-risk context that it would otherwise fail to be loaded in.
The HTTP Supports-Loading-Mode response header allows a response to opt-in to being loaded in a novel, higher-risk context that it would otherwise fail to be loaded in.
| Header type | Response header |
|---|---|
| CORS-safelisted response header | No |
Syntax
Supports-Loading-Mode: <client-hint-headers>
Directives
The Supports-Loading-Mode header value is a list of one or more tokens, which can include the following values:
credentialed-prerender- : Indicates that a destination origin opts in to loading documents via cross-origin, same-site prerendering.
fenced-frame- : The response can be loaded inside a fenced frame. Without this explicit opt-in, all navigations inside of a fenced frame will fail.
Examples
Supports-Loading-Mode: fenced-frame