From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.lisp.guile.bugs Subject: Re: Bug in http module of guile-www Date: Thu, 15 Jul 2004 08:58:57 +1000 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <87acy28aby.fsf@zip.com.au> References: <1089790696.598.19.camel@venkman> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089846015 28876 80.91.224.253 (14 Jul 2004 23:00:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2004 23:00:15 +0000 (UTC) Cc: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Jul 15 01:00:04 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BksjM-0000fV-00 for ; Thu, 15 Jul 2004 01:00:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bksln-0007GP-It for guile-bugs@m.gmane.org; Wed, 14 Jul 2004 19:02:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bkslk-0007G1-1Q for bug-guile@gnu.org; Wed, 14 Jul 2004 19:02:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bksli-0007Fi-CT for bug-guile@gnu.org; Wed, 14 Jul 2004 19:02:31 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bksli-0007FY-A7 for bug-guile@gnu.org; Wed, 14 Jul 2004 19:02:30 -0400 Original-Received: from [61.8.0.85] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BksiX-0007XO-SR for bug-guile@gnu.org; Wed, 14 Jul 2004 18:59:14 -0400 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.0.86]) by mailout2.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i6EMx8je026932; Thu, 15 Jul 2004 08:59:08 +1000 Original-Received: from localhost (ppp2F05.dyn.pacific.net.au [61.8.47.5]) by mailproxy1.pacific.net.au (8.12.3/8.12.3/Debian-6.6) with ESMTP id i6EMx6an000825; Thu, 15 Jul 2004 08:59:07 +1000 Original-Received: from gg by localhost with local (Exim 3.36 #1 (Debian)) id 1BksiI-0001m2-00; Thu, 15 Jul 2004 08:58:58 +1000 Original-To: bobstopper@bobturf.org User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:1545 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:1545 Robert Marlow writes: > > I happened accross a bug in the HTTP module of guile-www which seemed to > trigger when I visited a page which gave no headers and just whitespace > in the body. Thanks. But I'm guessing it's actually an empty reason phrase in the status line which provokes this. > 139,140c139,144 parse-status-line I take it. >> (if second >> (make-shared-substring statline (1+ first) second) >> #f) No, that would be to end of string to get the status code. >> (if second >> (make-shared-substring statline (1+ second)) >> #f)))) And I think that would be better as "" for an empty reason phrase. _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile