Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: http scheme to support cookies

From: gchiu::compkarori::co::nz at: 18-Apr-2005 19:39

>i don't have anything against the authors of those scripts, they >probably didn't know about schemes or were impressed by them (as you
You're correct on this. The cookies-client script was one I hacked in 1999 for a specific reason .. to grab and send cookies to mtnsms.com, and enable a web to sms gateway .. which worked until mtnsms.com killed the free sms. The script was not really intended for public consumption. The first article that was even vaguely official on schemes from rebol.com came out of Jeff Kreis in 2001.
>variables called "cookie-data" and "cookie-data2" instead of the
Yep, I only needed to capture two cookies.
>common datastructure for ports and protocols, they use weird function >interfaces such as "tmp: HTTP-TOOLS http://www.rebol.com []" (to fetch >a page which sends you a cookie) instead of the familiar read... >
Yes again. But it does indeed capture the nytimes.com cookie for me .. I just tried it.
>has anyone looked into adapting the default http scheme to support >cookies (ie. be able to set them and/or remember them across reads)?
And yes again. Turned out to be quite straight forward to do for both http and https. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml