GNU bug report logs -
#15908
http-{put,post}
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15908 in the body.
You can then email your comments to 15908 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guile <at> gnu.org
:
bug#15908
; Package
guile
.
(Fri, 15 Nov 2013 22:06:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Anders Thøgersen <anders <at> bladre.dk>
:
New bug report received and forwarded. Copy sent to
bug-guile <at> gnu.org
.
(Fri, 15 Nov 2013 22:06:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Reply sent
to
Mark H Weaver <mhw <at> netris.org>
:
You have taken responsibility.
(Sun, 17 Nov 2013 03:54:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Anders Thøgersen <anders <at> bladre.dk>
:
bug acknowledged by developer.
(Sun, 17 Nov 2013 03:54:03 GMT)
Full text and
rfc822 format available.
Message #10 received at 15908-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Anders Thøgersen <anders <at> bladre.dk> 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=utf-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=guile.git;a=commit;h=9c85fd02218705033f18befafa04d9c8c6b76297
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 15 Dec 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 134 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.