Script Library: 1226 scripts
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Discussion posts for script http-tools.r

1
anton
22-Nov-2005 0:39
The functionality provided by http-tools.r is now built in to REBOL.
(That is according to discussion on mail list recently, 21-Nov-2005).
Seek documentation on the /CUSTOM refinement of READ.
Some examples from Gabriele Santilli: {

        read/custom url [post "postdata" [Cookie: "name=value"]]

    The header part is optional, that is you can just:

       read/custom url [post "postdata"]

    "postdata" is whatever your CGI app is expecting, which usually is
    something like "name=value&name2=value2".

}

-Anton.
2
gchiu
22-Nov-2005 1:44
Edited:
gchiu
22-Nov-2005 1:45
The script might as well stay in the library as an example of how 
to use a custom http scheme to achieve things that the standard one 
did not.

Graham