[REBOL] Re: Passing a cookie back to the server
From: petr:krenzelok:trz:cz at: 8-Jun-2001 23:24
----- Original Message -----
From: "Graham Chiu" <[gchiu--compkarori--co--nz]>
To: <[rebol-list--rebol--com]>
Sent: Friday, June 08, 2001 10:55 PM
Subject: [REBOL] Re: Passing a cookie back to the server
> On Fri, 8 Jun 2001 14:51:56 -0500
> "GS Jones" <[gjones05--mail--orion--org]> wrote:
> >
> > then, use the cookie like so...
> >
> > page: read http://my.cookie-site.com reduce ['cookie mold
> > my-cookie]
>
> Hi Scott,
>
> What's the syntax for read/custom ie. posting data as well
> as sending a cookie?
page: read/custom http://my.post-site.com reduce ['post post-string]
however, if for e.g. the request serves for download of big file, it will
eat your memory. Even using 'open will not help here. There seem to be no
simple way of partial readout from the port, simply to construct something
like while [data: copy/part my-opened-port buffer-size][insert
local-opened-file data]
Or am I wrong? :-)
-pekr-