def text.accepted

bend-kit-camber@0.15.0.1 · input.bend:208

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

208def text.accepted(accepted: Bool, body: Http.Body) -> Result<&2, &1, U32, String>:
209  match accepted:
210    case False{}: Fail{415}
211    case True{}: scalar.convert(~String, utf8(body))

Uses (7)

Used by (1)