Enum GlobalHeadersConfig.ReferrerPolicy

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NO_REFERRER

      The Referer header will be omitted: sent requests do not include any referrer information.

      NO_REFERRER_WHEN_DOWNGRADE

      Send the origin, path, and querystring in Referer when the protocol security level stays the same or improves (HTTP→HTTP, HTTP→HTTPS, HTTPS→HTTPS). Don't send the Referer header for requests to less secure destinations (HTTPS→HTTP, HTTPS→file).

      ORIGIN

      Send only the origin in the Referer header. For example, a document at https://example.com/page.html will send the referrer https://example.com/.

      ORIGIN_WHEN_CROSS_ORIGIN

      When performing a same-origin request to the same protocol level (HTTP→HTTP, HTTPS→HTTPS), send the origin, path, and query string. Send only the origin for cross-origin requests and requests to less secure destinations (HTTPS→HTTP).

      SAME_ORIGIN

      Send the origin, path, and query string for same-origin requests. Don't send the Referer header for cross-origin requests.

      STRICT_ORIGIN

      Send only the origin when the protocol security level stays the same (HTTPS→HTTPS). Don't send the Referer header to less secure destinations (HTTPS→HTTP).

      STRICT_ORIGIN_WHEN_CROSS_ORIGIN

      Send the origin, path, and querystring when performing a same-origin request. For cross-origin requests send the origin (only) when the protocol security level stays same (HTTPS→HTTPS). Don't send the Referer header to less secure destinations (HTTPS→HTTP).

      UNSAFE_URL

      Send the origin, path, and query string when performing any request, regardless of security.