def cookie.fill_domain
import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookieimport 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