def problem.response

bend-kit-camber@0.15.0.1 · camber.bend:667

import bend-kit-camber@0.15.0.1/camber.bend as Camber
import Base
import bend-kit-http@0.38.1.1/http.bend as Http

667def problem.response(allow: String, response: Http.Res) -> Http.Res:
668  Http.Res{+status, headers, body} = response
669  Http.Res{status, problem.allow(U32.is_eq(status, 405), Http.set(headers, "content-type", "application/problem+json"), allow), body}

Uses (5)

Used by (1)