def reply.bytes
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
5579def reply.bytes(res: Res, head: Bool, close: Bool) -> Bytes.Bytes:
5580 Res{+status, +headers, body} = res
5581 encode.on(Res{status, Bool.pick(Map<&2, List<&2, String>>, close, set(headers, "connection", "close"), headers), body}, head)