def response

gralha-http-core@0.1.0.0 · http.bend:351

import gralha-http-core@0.1.0.0/http.bend as Http
import Base

351# A response with a status, a Content-Type and a body.
352def response(+status: U32, content_type: String, body: String) -> Response:
353  Response{status, [Header{"Content-Type", content_type}], body}

Uses (5)

Used by (2)