From unknown Thu Aug 14 17:29:18 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#15908 <15908@debbugs.gnu.org> To: bug#15908 <15908@debbugs.gnu.org> Subject: Status: http-{put,post} Reply-To: bug#15908 <15908@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:29:18 +0000 retitle 15908 http-{put,post} reassign 15908 guile submitter 15908 Anders Th=C3=B8gersen severity 15908 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 15 17:05:04 2013 Received: (at submit) by debbugs.gnu.org; 15 Nov 2013 22:05:04 +0000 Received: from localhost ([127.0.0.1]:56286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhRVf-0008H5-Ii for submit@debbugs.gnu.org; Fri, 15 Nov 2013 17:05:04 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhR6y-0007fP-Nt for submit@debbugs.gnu.org; Fri, 15 Nov 2013 16:39:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhR6k-0005tg-4q for submit@debbugs.gnu.org; Fri, 15 Nov 2013 16:39:27 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhR6k-0005tc-1t for submit@debbugs.gnu.org; Fri, 15 Nov 2013 16:39:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33647) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhR6c-00078f-IN for bug-guile@gnu.org; Fri, 15 Nov 2013 16:39:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VhR6V-0005Xo-29 for bug-guile@gnu.org; Fri, 15 Nov 2013 16:39:10 -0500 Received: from csmtp3.one.com ([91.198.169.23]:52921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VhR6U-0005Xg-S4 for bug-guile@gnu.org; Fri, 15 Nov 2013 16:39:02 -0500 Received: from bladre.dk (outgoing-email-13.parknet.dk [80.71.128.156]) by csmtp3.one.com (Postfix) with ESMTPA id 10CE3DB603 for ; Fri, 15 Nov 2013 21:39:00 +0000 (UTC) Received: from bladre.dk (outgoing-email-13.parknet.dk [80.71.128.156]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:587 (trex/4.8.87); Fri, 15 Nov 2013 21:39:00 GMT Date: Fri, 15 Nov 2013 22:38:58 +0100 From: Anders =?iso-8859-1?Q?Th=F8gersen?= To: bug-guile@gnu.org Subject: http-{put,post} Message-ID: <20131115213858.GA2245@bladre.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 Nov 2013 17:04:59 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, I noticed that there is a bug in the http-{put,post} methods of the web client: (use-modules (web client)) (http-put "http://localhost:2000") results in $ nc -l -p 2000 PUT / HTTP/1.1 Host: localhost:2000 Connection: close But if I add a body: (http-put "http://localhost:2000" #:body "Hello!") I get a GET request $ nc -l -p 2000 GET / HTTP/1.1 Content-Length: 6 Content-Type: text/plain;charset=utf-8 Host: localhost:2000 Connection: close Hello! Thanks! Anders From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 16 22:53:23 2013 Received: (at 15908-done) by debbugs.gnu.org; 17 Nov 2013 03:53:23 +0000 Received: from localhost ([127.0.0.1]:57770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhtQI-00057X-Os for submit@debbugs.gnu.org; Sat, 16 Nov 2013 22:53:22 -0500 Received: from world.peace.net ([96.39.62.75]:46130 ident=hope4) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VhtQG-00057O-Bu for 15908-done@debbugs.gnu.org; Sat, 16 Nov 2013 22:53:21 -0500 Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=yeeloong) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1VhtQ8-0001H3-Pv; Sat, 16 Nov 2013 22:53:13 -0500 From: Mark H Weaver To: Anders =?utf-8?Q?Th=C3=B8gersen?= Subject: Re: bug#15908: http-{put,post} References: <20131115213858.GA2245@bladre.dk> Date: Sat, 16 Nov 2013 22:52:48 -0500 In-Reply-To: <20131115213858.GA2245@bladre.dk> ("Anders \=\?utf-8\?Q\?Th\=C3\=B8\?\= \=\?utf-8\?Q\?gersen\=22's\?\= message of "Fri, 15 Nov 2013 22:38:58 +0100") Message-ID: <87k3g78z1r.fsf@netris.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 15908-done Cc: 15908-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Hi, Anders Th=C3=B8gersen writes: > But if I add a body: > > (http-put "http://localhost:2000" #:body "Hello!") > > I get a GET request > > $ nc -l -p 2000 > GET / HTTP/1.1 > Content-Length: 6 > Content-Type: text/plain;charset=3Dutf-8 > Host: localhost:2000 > Connection: close This was reported in September and fixed on the stable-2.0 branch, so it will be fixed in Guile 2.0.10. http://git.savannah.gnu.org/gitweb/?p=3Dguile.git;a=3Dcommit;h=3D9c85fd0221= 8705033f18befafa04d9c8c6b76297 If you need a workaround for existing Guile releases, here's how: http://lists.gnu.org/archive/html/guile-user/2013-09/msg00046.html I'm closing this bug. Please let us know if you have other problems. Thanks, Mark From unknown Thu Aug 14 17:29:18 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 15 Dec 2013 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator