def reply.fail.bytes

bend-kit-http@0.38.5.0 · http.bend:5575

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

5575def reply.fail.bytes(+status: U32) -> Res:
5576  Res{status, set(empty(), "connection", "close"), Bytes.from_string(reason(status))}

Uses (6)

Used by (2)