def cookie.send.domain
import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookieimport Base
496# domain-match, then path-match
497def cookie.send.domain(req: String, tls: Bool, secure: Bool, cpath: String,
498 ok: Bool) -> Bool:
499 match ok:
500 case False{}:
501 False{}
502 case True{}:
503 cookie.send.path(tls, secure, cookie.path_ok(req, cpath))