def field.of.agent
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
569# a lower-case name that is not user-agent
570def field.of.agent(hit: Bool, +l: String) -> Field:
571 match hit:
572 case True{}:
573 FAgent{}
574 case False{}:
575 field.of.accept(String.eq(l, "accept"), l)