def cookie.site.lax
import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookieimport Base
99# Lax / Strict / None, canonical spelling (RFC 6265bis SameSite)
100def cookie.site.lax(+low: String, hit: Bool) -> String:
101 match hit:
102 case True{}:
103 "Lax"
104 case False{}:
105 cookie.site.strict(low, String.eq(low, "strict"))