STRICT_ORIGIN_WHEN_CROSS_ORIGIN constant

ReferrerPolicy const STRICT_ORIGIN_WHEN_CROSS_ORIGIN

Send a full URL when performing a same-origin request, but only send the origin when the protocol security level stays the same (e.g.HTTPS -> HTTPS), and send no header to a less secure destination (e.g. HTTPS -> HTTP).

Implementation

static const STRICT_ORIGIN_WHEN_CROSS_ORIGIN =
    const ReferrerPolicy._internal("strict-origin-when-cross-origin");