def cookie.fill_domain

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

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

368# host-only cookies take the response host; Domain stays as parsed
369def cookie.fill_domain(domain: String, host_only: Bool, host: String) -> String:
370  match host_only:
371    case True{}:
372      host
373    case False{}:
374      domain

Uses (2)

Used by (1)