Sketch of a Scheme http request procedures John Cowan (12 Mar 2020 20:06 UTC)
Re: Sketch of a Scheme http request procedures Arthur A. Gleckler (12 Mar 2020 21:16 UTC)
Re: Sketch of a Scheme http request procedures Dimitris Vyzovitis (12 Mar 2020 21:28 UTC)
Re: Sketch of a Scheme http request procedures Arthur A. Gleckler (12 Mar 2020 21:32 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (12 Mar 2020 21:36 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (12 Mar 2020 21:37 UTC)
Re: Sketch of a Scheme http request procedures Arthur A. Gleckler (12 Mar 2020 21:56 UTC)
Re: Sketch of a Scheme http request procedures Peter Bex (13 Mar 2020 06:40 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (13 Mar 2020 14:39 UTC)
Re: Sketch of a Scheme http request procedures Peter Bex (13 Mar 2020 14:52 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (13 Mar 2020 15:48 UTC)
Re: Sketch of a Scheme http request procedures Lassi Kortela (13 Mar 2020 18:48 UTC)
Re: Sketch of a Scheme http request procedures Lassi Kortela (13 Mar 2020 18:51 UTC)
Re: Sketch of a Scheme http request procedures Arthur A. Gleckler (13 Mar 2020 15:59 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (13 Mar 2020 16:29 UTC)
Re: Sketch of a Scheme http request procedures Arthur A. Gleckler (13 Mar 2020 16:39 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (13 Mar 2020 19:35 UTC)
Re: Sketch of a Scheme http request procedures Duy Nguyen (14 Mar 2020 01:50 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (14 Mar 2020 01:58 UTC)
Re: Sketch of a Scheme http request procedures Duy Nguyen (14 Mar 2020 02:05 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (14 Mar 2020 02:10 UTC)
Re: Sketch of a Scheme http request procedures Duy Nguyen (14 Mar 2020 02:15 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (14 Mar 2020 02:52 UTC)
Re: Sketch of a Scheme http request procedures Duy Nguyen (14 Mar 2020 02:57 UTC)
Re: Sketch of a Scheme http request procedures John Cowan (14 Mar 2020 21:52 UTC)
Re: Sketch of a Scheme http request procedures Lassi Kortela (14 Mar 2020 22:05 UTC)

Re: Sketch of a Scheme http request procedures Peter Bex 13 Mar 2020 14:52 UTC
On Fri, Mar 13, 2020 at 10:38:52AM -0400, John Cowan wrote:
> I also realized that response-style makes no sense: it's the Content-Type
> header in the response that determines if what comes back is textual or
> not.  I'm inclined to think that returning a bytevector makes the most
> sense
>
> (simple-http-request verb url [ content-type source ]) => bytevector

I don't think that's a great API, it makes it impossible to download
files that are larger than the amount of RAM currently available.

> where source can be a bytevector, string, or input port.

What exactly is source, again?  The request body to send?

Cheers,
Peter