ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

class documentation

class SameSitePolicy(Enum): (source)

View In Hierarchy

Represent possible values for the SameSite attribute of cookies.

Returns
SameSitePolicyAn enumeration member representing the SameSite policy.
Constant LAX Cookies are withheld on cross-site subrequests, but sent when a user navigates to the URL from an external site (e.g., following a link).
Constant NONE Cookies are sent in all contexts, i.e., in responses to both first-party and cross-origin requests.
Constant STRICT Cookies are only sent in a first-party context and not with requests initiated by third party websites.

Cookies are withheld on cross-site subrequests, but sent when a user navigates to the URL from an external site (e.g., following a link).

Value
'lax'

Cookies are sent in all contexts, i.e., in responses to both first-party and cross-origin requests.

Value
'none'

Cookies are only sent in a first-party context and not with requests initiated by third party websites.

Value
'strict'