guile-user
[Top][All Lists]
Advanced

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

Re: is (web client) ready for use even for the simplest task?


From: Nala Ginrut
Subject: Re: is (web client) ready for use even for the simplest task?
Date: Tue, 10 Sep 2013 14:22:11 +0800

This bug had a fix but didn't push, I think it's in master now.

On Tue, 2013-09-10 at 12:13 +0800, Darren Hoo wrote:
> (use-modules (web client))
> 
> (http-post "http://www.google.com/";) 
> 
> the POST request is sent without the Content-Length header
> 
> OK, let's add something to the body
> 
> (http-post "http://www.google.com/"; #:body "")
> 
> Howcome the request now becomes an http GET request:
> 
> GET / HTTP/1.1
> Content-Type: text/plain;charset=utf-8
> Host: www.google.com
> Connection: close
> 
> This is really ridiculous.
> 
> 





reply via email to

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