guile-user
[Top][All Lists]
Advanced

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

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


From: Darren Hoo
Subject: is (web client) ready for use even for the simplest task?
Date: Tue, 10 Sep 2013 12:13:46 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (darwin)

(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]