def cookie.path_rest

emerging-ezhttp@0.21.0.0 · src/cookie.bend:460

import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie
import Base

460# identical paths match; otherwise the prefix rules (RFC 6265 §5.1.4)
461def cookie.path_rest(+req: String, +cpath: String, same: Bool) -> Bool:
462  match same:
463    case True{}:
464      True{}
465    case False{}:
466      cookie.path_slash(req, cpath, String.ends_with(cpath, "/"))

Uses (4)

Used by (1)