def head.hit
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
380# whether a head line names this header (field names are case-insensitive:
381# RFC 9110 §5.1)
382def head.hit(h: String, +name: String) -> Bool:
383 String.starts_with(String.to_lower(h), name ++ ":")