>
>Hi,
>
>I'm trying to find a way to get the info relative to cookies
>passed by a cgi server in the header of an HTML document.
>
>for instance :
>
>Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; expires=Wednesday, 09-Nov-99
>
>23:12:40 GMT
>
>As far as I understand, when I run
>    get URL "www.whatever.com"
>in MC 2.3.2 I can't intercept the content of the header.
>
>But MC 2.4 allows that, with the help of libURL. Right ?

LibURL allows you to edit it. Wht you need to edit is "doProcess" in libURL, not 
getFormat.
Just add "put lineOffset("Set-Cookie:",thHeader[tUrl[nX[x]]])..." and deal with the 
data later.
Normally to see the whole header you would just add a "put y" after "on doProcess x,y".

>
>Anyway, I still don't understand everything relative to
>the handlers in libURL, especially getFormat, which seems
>to be able to do what I want.

GetFormat splits the url into components: address, file name, etc.

>
>Could anyone give me a hint on how exactly use that handler
>to get the header in a variable ?
>
>Thanks
>
>JB
>
>

Regards, Andu
______________
[EMAIL PROTECTED]

Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to