unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* is (web client) ready for use even for the simplest task?
@ 2013-09-10  4:13 Darren Hoo
  2013-09-10  6:09 ` Aleix Conchillo Flaqué
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Darren Hoo @ 2013-09-10  4:13 UTC (permalink / raw)
  To: guile-user


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




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-17 17:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-10  4:13 is (web client) ready for use even for the simplest task? Darren Hoo
2013-09-10  6:09 ` Aleix Conchillo Flaqué
2013-09-10  6:22 ` Nala Ginrut
2013-09-10  9:19 ` Mark H Weaver
2013-09-10  9:46   ` Nala Ginrut
2013-09-10 10:17     ` Ian Price
2013-09-10 10:01   ` Mark H Weaver
2013-09-10 10:33   ` Mark H Weaver
2013-09-17 17:48   ` Andy Wingo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).