* guile-www 1.1.1ttn3 available
@ 2002-12-04 4:10 Thien-Thi Nguyen
0 siblings, 0 replies; only message in thread
From: Thien-Thi Nguyen @ 2002-12-04 4:10 UTC (permalink / raw)
Cc: guile-user
the http 1.1 spec (rfc 2616) is 176 pages; it will be a while before
guile-www http implementation gets there... however, for now, we have a
new proc to play with: http:post-form. example usage:
(http:post-form (url:parse "http://www.biomail.org")
(list "User-Agent: biomail2ris/1.0")
'((uid . 2342433)
(uid . 8193)
(submit . "Medline format")
(user . "jrandom")
(mail . "jrandom@some.org")
(subj . "integrin AND rap1")
(lang . "")))
first arg is a url object. second arg is a list of additional headers
("Content-Type" and "Host" are set automatically). third arg is a list
of key-value pairs, to be rendered as "~A=~A", concatenated with "&",
and urlencoded in the body of an http request. thanks go to w3m folks
for a convenient #ifdef HTTP_DEBUG in url.c. tarball in:
http://www.glug.org/alt/
thi
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-user
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-04 4:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-04 4:10 guile-www 1.1.1ttn3 available Thien-Thi Nguyen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).