Cookie.cookie.path_rest: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 460-466 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=460&end_line=466 import Base # identical paths match; otherwise the prefix rules (RFC 6265 ยง5.1.4) def cookie.path_rest(+req: String, +cpath: String, same: Bool) -> Bool: match same: case True{}: True{} case False{}: cookie.path_slash(req, cpath, String.ends_with(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.ends_with https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=cookie.path_slash