def cookie.fill_path.of

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

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

376# an absent Path becomes default-path
377def cookie.fill_path.of(path: String, req: String, empty: Bool) -> String:
378  match empty:
379    case True{}:
380      cookie.default_path(req)
381    case False{}:
382      path

Uses (3)

Used by (1)