def start.refused
bend-kit-llm@0.13.0.1 · llm.bend:460
import bend-kit-llm@0.13.0.1/llm.bend as Llm
import Base
import bend-kit-http@0.38.1.1/http.bend as Http
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
import bend-kit-encoding@0.5.0.0/encoding.bend as Enc
460def start.refused(+status: U32, h: Http.Stream) -> IO(Result<&1, &1, Err, Http.Stream>):
461 do IO<Result<&1, &1, Err, Http.Stream>>:
462 y : Http.Stream & Result<&1, &1, Http.Err, Maybe<&1, Bytes.Bytes>> <- Http.stream.read(h)
463 b : Bytes.Bytes <- drain(64n, y, Bytes.new(0))
464 return Fail{ErrApi{status, Enc.utf8.decode(b)}}