def packed.reply.of
import emerging-ezhttp@0.21.0.0/src/packed.bend as Packedimport Base
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes
203# the response to a request with this method, its octets counted
204def packed.reply.of(+method: String, r: Bytes.Bytes & U32) -> Got:
205 (b, +len) = r
206 packed.heads(U32.to_nat(len), String.eq(method, "HEAD"), b, 0, len)