Back to Content

Permissions-Policy: summarizer directive

files/en-us/web/http/reference/headers/permissions-policy/summarizer/index.md

latest901 B
Original Source

{{SeeCompatTable}}

The HTTP {{HTTPHeader("Permissions-Policy")}} header summarizer directive controls access to the Summarizer API.

Specifically, where a defined policy blocks Summarizer API usage, any attempts to call the API's methods will fail with a NotAllowedError {{domxref("DOMException")}}.

Syntax

http
Permissions-Policy: summarizer=<allowlist>;
  • <allowlist>

Default policy

The default allowlist for summarizer is self.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also