chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Problem with http-client in chicken 4.2.0


From: Colin Fleming
Subject: [Chicken-users] Problem with http-client in chicken 4.2.0
Date: Sun, 1 Nov 2009 03:31:23 +0100

Hi all,

I just reinstalled my computer, and as part of that I upgraded from Chicken 3 to 4.2.0. I'm having some problems with the new http-client interface and I'm not sure if I'm just doing something daft. When trying to use the Google Reader API I always get a 403:

#;4> (call-with-input-request "https://www.google.com/accounts/ClientLogin?Email=<email>&Passwd=<password>&source=GooglecURL-Example&service=reader" #f port->string)

Error: (call-with-input-request) Client error: 403 Forbidden

    Call history:

    uri-common.scm: 150  uri-generic#uri-port       
    uri-generic.scm: 97   URI-authority       
    uri-generic.scm: 98   URIAuth-port       
    uri-common.scm: 151  uri-generic#uri-scheme       
    uri-common.scm: 151  alist-ref       
    http-client.scm: 79   uri-common#uri-host       
    http-client.scm: 79   uri-common#uri-host       
    http-client.scm: 448  raise            <--

Calling that same URL with curl works fine, and this worked in the chicken 3 http-client using http:GET. Calling, for example, http://www.google.com works fine too. Is there something obvious I'm missing? Is there any easy way to debug this?

Thanks,
Colin

reply via email to

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