def parse.res.fields
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
980def parse.res.fields(+status: U32, rest: String, fs: Maybe<&2, Map<&2, List<&2, String>>>, closed: Bool, head: Bool) -> Frame:
981 match fs:
982 case None{}:
983 FrameBad{}
984 case Some{h}:
985 frame.status(status, h, rest, closed, frame.nobody(status, head))