def field.of.host
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
577# a lower-case name that is not host
578def field.of.host(hit: Bool, +l: String) -> Field:
579 match hit:
580 case True{}:
581 FHost{}
582 case False{}:
583 field.of.agent(String.eq(l, "user-agent"), l)