From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Price Newsgroups: gmane.lisp.guile.user Subject: Re: Using guile's web client Date: Thu, 15 Mar 2012 12:42:57 +0000 Message-ID: <87lin2t4q6.fsf@Kagami.home> References: <20120315000554.6e1918df@laptop.homenet> <877gymr7go.fsf@Kagami.home> <20120315104038.7513d7c1@laptop.homenet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1331815403 2307 80.91.229.3 (15 Mar 2012 12:43:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Mar 2012 12:43:23 +0000 (UTC) Cc: Guile User To: Chris Vine Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Mar 15 13:43:20 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S8A1X-0007Kv-Qc for guile-user@m.gmane.org; Thu, 15 Mar 2012 13:43:19 +0100 Original-Received: from localhost ([::1]:39747 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8A1W-0006gV-FT for guile-user@m.gmane.org; Thu, 15 Mar 2012 08:43:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8A1O-0006fI-Sk for guile-user@gnu.org; Thu, 15 Mar 2012 08:43:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S8A1I-0007td-EG for guile-user@gnu.org; Thu, 15 Mar 2012 08:43:10 -0400 Original-Received: from mail-we0-f169.google.com ([74.125.82.169]:51402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S8A1I-0007tD-4p for guile-user@gnu.org; Thu, 15 Mar 2012 08:43:04 -0400 Original-Received: by werj55 with SMTP id j55so3601337wer.0 for ; Thu, 15 Mar 2012 05:43:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=kYGeX3D1vZAJCSbTs2ecC0wzuOWJUGdjGKfx2bvyCvo=; b=Fio6S+iQHjfiA0hP2sJrvFk9M9twPxJt50Ys2dSvCr0EXilmcJA+ydad8/SbsGQMNi FvCLf5wN6BOFqpiMyVPLiwj+dtcg6qplCyEwBh/szp0gIPUR2csboLep9G4Hkj3P/MFh L880oVjDghgk0rO2PCiYT6iN5+xECaWwzOfQEia2SSn3vwvhdTlxAbS+3xUh0RrnxT4m Vukd+Gn6P5snxqqvSpcQ5xARu/2muIUMBG7AQy58KEzY5nMxmsbxCOeMB8/78M+HuYgo qZFNvsE/b6R6q8yh33vEnsebbnkNRkuTm6uDlx5Wthl7AAngiBeKM6UuLehKtJADIsdX /QoQ== Original-Received: by 10.180.101.72 with SMTP id fe8mr15403906wib.4.1331815381973; Thu, 15 Mar 2012 05:43:01 -0700 (PDT) Original-Received: from Kagami.home (host86-151-78-130.range86-151.btcentralplus.com. [86.151.78.130]) by mx.google.com with ESMTPS id d7sm7945522wiz.6.2012.03.15.05.43.00 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 15 Mar 2012 05:43:01 -0700 (PDT) In-Reply-To: <20120315104038.7513d7c1@laptop.homenet> (Chris Vine's message of "Thu, 15 Mar 2012 10:40:38 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9347 Archived-At: Chris Vine writes: > Ah thanks, that's great. My "fault" was in assuming that in the absence > of documentation, the http-get procedure does what is "obvious" (ie what > other similar high-level http libraries do) and leaves the reading of > the body to read-response-body. I have now looked at the source for > the web module and that reveals all. Well, when in doubt, I test it out at the repl. This would have clarified things immediately :) -- Ian Price "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"