emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#15908: closed (http-{put,post})


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#15908: closed (http-{put,post})
Date: Sun, 17 Nov 2013 03:54:02 +0000

Your message dated Sat, 16 Nov 2013 22:52:48 -0500
with message-id <address@hidden>
and subject line Re: bug#15908: http-{put,post}
has caused the debbugs.gnu.org bug report #15908,
regarding http-{put,post}
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
15908: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15908
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: http-{put,post} Date: Fri, 15 Nov 2013 22:38:58 +0100 User-agent: Mutt/1.5.22 (2013-10-16)
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




--- End Message ---
--- Begin Message --- Subject: Re: bug#15908: http-{put,post} Date: Sat, 16 Nov 2013 22:52:48 -0500 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
Hi,

Anders Th√łgersen <address@hidden> 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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]