Re: Sketch of a Scheme http request procedures Lassi Kortela 13 Mar 2020 18:51 UTC

> Hence in throwaway scripts, you could just do something like:
>
> (utf8->string (get-bytevector-all (response-body response)))

Of course, nothing stops us from providing ready-made convenience
procedures:

(response-body->bytes response [maxlen]) => bytevector

(response-body->string response [maxlen]) => string

Could maybe use keyword arguments.