http-tools was written at a time when Rebol did not support cookies (
well, it only supported one cookie ).

I believe it does now.

The problem with http-tools is that it implements it's own http
protocol rather than building upon RT's one.

On 11/21/05, Giuseppe Chillemi <[EMAIL PROTECTED]> wrote:
>
> Ciao Gabriele,
>         seems good but it is really cryptic. I have some questions:
>         1) Which is the difference between this approach and http-tools.r
> approach ?
>         2) Read/custom and the block we could pass to it are undocumented
>         3) About Cookie: "name=3Dvalue"; how could I pass more cookis val=
ues ?
> Where is some documentation about this way of operating ?
>
>         Thanks
>
>         Giuseppe Chillemi
>
>
>
> -----Messaggio originale-----
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di
> Gabriele Santilli
> Inviato: domenica 20 novembre 2005 14.14
> A: Giuseppe Chillemi
> Oggetto: [REBOL] Re: R: Re: Reading and setting cookies
>
>
> Hi Giuseppe,
>
> On Sunday, November 20, 2005, 1:35:57 PM, you wrote:
>
> GC>     I am on the client side of the thing.
> GC>     I want to access pages located in a remote server and I need to
> GC> accept a cookie and make a login. I am taking a look at http-tools.r =
but
> it
> GC> does not set the data as promised:
> GC> http-tools-data/cookie-data is empty.
>
> A few hints:
>
> >> p: open http://www.rebol.com
> connecting to: www.rebol.com
> >> print p/locals/headers
> Date: "Sun, 20 Nov 2005 13:03:58 GMT"
> Server: "Apache"
> Last-Modified: "Thu, 10/Nov/2005/23:00:37/+GMT"
> Accept-Ranges: "bytes"
> Content-Encoding: none
> Content-Type: "text/html"
> Content-Length: "8015"
> Location: none
> Expires: none
> Referer: none
> Connection: "close"
> Authorization: none
> ETag: {"1d0325-1f4f-4373d115"}
>
> >> close p
> >> p: read/custom http://www.rebol.com [header [Cookie: "name=3Dvalue"]]
> connecting to: www.rebol.com
> =3D=3D {<html>
> <head>
> <META NAME=3D"Description" CONTENT=3D"Lightweight distributed computing,
> collaboration, and programming systems for t...
>
> Regards,
>    Gabriele.
> --
> Gabriele Santilli <[EMAIL PROTECTED]>  ---  http://www.rebol.com/
> Colella Chiara software division --- http://www.colellachiara.com/
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
> --
> To unsubscribe from the list, just send an email to
> lists at rebol.com with unsubscribe as the subject.
>
>


--
Graham Chiu
-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to