From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.lisp.guile.user Subject: Re: Uploading Word documents, PDFs, PNG files etc Date: Thu, 21 May 2009 12:47:50 +0200 Message-ID: <87y6sqlokp.fsf@ambire.localdomain> References: <87vdo7au56.fsf@ambire.localdomain> <87vdo5qc52.fsf@gnu.org> <7i0kzuog.fsf@vps203.linuxvps.org> <3ae3aa420905131223i3c7b83b0tf5a6ec9b200a8704@mail.gmail.com> <200905140347.n4E3l6LB003384@fcs13.keithdiane.us> <87ljove6oa.fsf@gnu.org> <7i0dbsvm.fsf@vps203.linuxvps.org> <87skj1il9s.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1242903194 18862 80.91.229.12 (21 May 2009 10:53:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 May 2009 10:53:14 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu May 21 12:53:07 2009 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M75tb-0006u3-AB for guile-user@m.gmane.org; Thu, 21 May 2009 12:53:07 +0200 Original-Received: from localhost ([127.0.0.1]:51760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M75ta-0001eS-SG for guile-user@m.gmane.org; Thu, 21 May 2009 06:53:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M75tX-0001eD-ID for guile-user@gnu.org; Thu, 21 May 2009 06:53:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M75tW-0001e1-OY for guile-user@gnu.org; Thu, 21 May 2009 06:53:03 -0400 Original-Received: from [199.232.76.173] (port=45426 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M75tW-0001dy-Le for guile-user@gnu.org; Thu, 21 May 2009 06:53:02 -0400 Original-Received: from smtp-out28.alice.it ([85.33.2.28]:3527) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M75tW-0003cH-97 for guile-user@gnu.org; Thu, 21 May 2009 06:53:02 -0400 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out28.alice.it with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 May 2009 12:52:36 +0200 Original-Received: from FBCMCL01B01.fbc.local ([192.168.69.82]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 May 2009 12:52:34 +0200 Original-Received: from ambire.localdomain ([79.21.71.216]) by FBCMCL01B01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 May 2009 12:52:34 +0200 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1M75oU-0005Hy-BS for guile-user@gnu.org; Thu, 21 May 2009 12:47:50 +0200 In-Reply-To: (Sebastian Tennant's message of "Thu, 21 May 2009 05:22:15 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-OriginalArrivalTime: 21 May 2009 10:52:34.0751 (UTC) FILETIME=[3F891CF0:01C9DA02] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:7315 Archived-At: () Sebastian Tennant () Thu, 21 May 2009 05:22:15 +0000 Problem solved. With this patch applied to cgi.scm in ttn's (www cgi) module, uploading of binary data now works with Guile 1.8. In the end it was simply a case of splitting each part into a header section and value section using string-contains and substring rather than match:prefix and match:suffix. Thanks for writing this patch. I will incorporate it into the next Guile-WWW release. Keep up the good work! thi