[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile-www 1.1.1ttn3 available
From: |
Thien-Thi Nguyen |
Subject: |
guile-www 1.1.1ttn3 available |
Date: |
Tue, 03 Dec 2002 20:10:54 -0800 |
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 . "address@hidden")
(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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- guile-www 1.1.1ttn3 available,
Thien-Thi Nguyen <=