Problem with http-client in chicken 4.2.0
2009-11-01 02:31:23 GMT
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
_______________________________________________ Chicken-users mailing list Chicken-users <at> nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users
RSS Feed