[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: |
Aleix Conchillo Flaqué |
Subject: |
Re: is (web client) ready for use even for the simplest task? |
Date: |
Mon, 9 Sep 2013 23:09:08 -0700 |
I have used (web client) in both guile-oauth (with a twitter client
example) and guile-xmlrpc.
So, yes, I think it is ready for the simplest task and much more. This
doesn't mean it might have bugs, as every software does.
Aleix
On Mon, Sep 9, 2013 at 9:13 PM, Darren Hoo <address@hidden> 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.
>
>