Skip to main content

httpHeaders

Returns the HTTP headers configured for the store

These headers should be applied when serving the storefront, for example
security headers or other custom headers.

httpHeaders: [HttpHeader]!

Type

HttpHeader

Represents a single HTTP header consisting of a name and value.

This type can be used to define HTTP headers that should be included
in responses or requests, such as security headers (e.g. Content-Security-Policy,
Permissions-Policy, Strict-Transport-Security) or custom application headers.

Header names are case-insensitive according to the HTTP specification.