Cookie.cookie.http_on: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 67-73 of emerging-ezhttp@0.21.0.0/src/cookie.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&start_line=67&end_line=73 import Base # set the HttpOnly flag def cookie.http_on(c: Cookie) -> Cookie: match c: case Cookie{name, value, expires, max_age, domain, path, secure, http_only, same_site, host_only}: Cookie{name, value, expires, max_age, domain, path, secure, True{}, same_site, host_only} Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=Cookie