def response

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

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

1680def response(+status: U32, headers: Map<&2, List<&2, String>>, body: String) -> String:
1681  ("HTTP/1.1 " ++ U32.show(status) ++ " " ++ reason(status) ++ headers_block(headers)) ++ ("\r\n\r\n" ++ body)

Uses (8)

Used by (3)