referrerPolicy

fun referrerPolicy(referrerPolicyConfig: ServerReferrerPolicyDsl.() -> Unit)

Allows configuration for Referrer Policy.

Configuration is provided to the [ReferrerPolicyServerHttpHeadersWriter] which support the writing of the header as detailed in the W3C Technical Report:

  • Referrer-Policy

Parameters

referrerPolicyConfig

the customization to apply to the header