Liking cljdoc? Tell your friends :D

strojure.web-security.referrer-policy

The Referrer-Policy HTTP header controls how much referrer information (sent with the Referer header) should be included with requests.

The [Referrer-Policy] HTTP header controls how much referrer information
(sent with the Referer header) should be included with requests.

[Referrer-Policy]:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
raw docstring

header-nameclj

Returns "Referrer-Policy" string.

Returns "Referrer-Policy" string.
sourceraw docstring

ReferrerPolicyHeadercljprotocol

header-valueclj

(header-value obj)

Returns string value for the Referrer-Policy response header.

  • "strict-origin-when-cross-origin" for boolean true
  • string as is for strings
  • keyword name for keywords
Returns string value for the [Referrer-Policy] response header.

- "strict-origin-when-cross-origin" for boolean `true`
- string as is for strings
- keyword name for keywords

[Referrer-Policy]:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close