Cookie.cookie.pairs.one: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/cookie.bend as Cookie Lines 296-302 of emerging-ezhttp@0.21.0.0/src/cookie.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&start_line=296&end_line=302 import Base # one cookie as a request pair, dropped when the name is empty def cookie.pairs.one(c: Cookie, rest: Unit -> List<&2, String>) -> List<&2, String>: match c: case Cookie{+name, value, expires, max_age, domain, path, secure, http_only, same_site, host_only}: cookie.pairs.keep(name, value, String.eq(name, ""), rest) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=Cookie https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/cookie.bend&name=cookie.pairs.keep