Cookie.cookie.path_ok: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 476-478 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=476&end_line=478 import Base # path-match (RFC 6265 ยง5.1.4) def cookie.path_ok(+req: String, +cpath: String) -> Bool: cookie.path_prefix(req, cpath, String.starts_with(req, cpath)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=cookie.path_prefix