From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.sources Subject: guile-www 1.1.1ttn3 available Date: Tue, 03 Dec 2002 20:10:54 -0800 Sender: guile-user-admin@gnu.org Message-ID: Reply-To: ttn@glug.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1038976392 1728 80.91.224.249 (4 Dec 2002 04:33:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 4 Dec 2002 04:33:12 +0000 (UTC) Cc: guile-user@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18JRDj-0000Rk-00 for ; Wed, 04 Dec 2002 05:33:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JR21-00055f-00; Tue, 03 Dec 2002 23:21:05 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18JR0F-0002lx-00 for guile-user@gnu.org; Tue, 03 Dec 2002 23:19:15 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18JR0A-0002lh-00 for guile-user@gnu.org; Tue, 03 Dec 2002 23:19:14 -0500 Original-Received: from ca-crlsca-cuda3-c6a-b-211.crlsca.adelphia.net ([68.71.15.211] helo=giblet) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18JR07-0002lM-00; Tue, 03 Dec 2002 23:19:08 -0500 Original-Received: from ttn by giblet with local (Exim 3.35 #1 (Debian)) id 18JQsA-0003R2-00; Tue, 03 Dec 2002 20:10:54 -0800 Original-To: guile-sources@gnu.org Errors-To: guile-user-admin@gnu.org X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.lisp.guile.user:1428 gmane.lisp.guile.sources:20 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:1428 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