(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