XDnsPrefetchControl

Builder for the non-standard X-DNS-Prefetch-Control HTTP header.

Usage

Source

XDnsPrefetchControl()

Default header value: off

Notes

* Browsers may ignore this header as it is non-standard, but it documents the desired behavior for DNS prefetching. * Normalization keeps on/off lowercase while permitting other values unchanged.

Resources: - https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/X-DNS-Prefetch-Control - https://owasp.org/www-project-secure-headers/#x-dns-prefetch-control

Parameter Attributes

header_name: str
_value: str = (lambda: HeaderDefaultValue.X_DNS_PREFETCH_CONTROL.value)()