def frame.status

bend-kit-http@0.38.2.0 · http.bend:973

import bend-kit-http@0.38.2.0/http.bend as Http
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

973def frame.status(status: U32, +h: Map<&2, List<&2, String>>, rest: String, closed: Bool, nobody: Bool) -> Frame:
974  match nobody:
975    case True{}:
976      FrameDone{Res{status, h, Bytes.new(0)}}
977    case False{}:
978      frame.done(status, h, parse.res.body(h, rest), closed, frame.open(h))

Uses (11)

Used by (1)