On Tue 24 Jan 2012 13:47, Catonano <caton...@gmail.com> writes:

> I tried with www.friendfeed.com and I got back what follows:
>
>  $11 = "<html>\r
> <head><title>301 Moved Permanently</title></head>\r
> <body bgcolor=\"white\">\r
> <center><h1>301 Moved Permanently</h1></center>\r
> <hr><center>nginx/0.6.31</center>\r
> </body>\r
> </html>\r
> "

I suspect here in $10 you got a response with the response-code of 301.
It's a redirect.  Guile's HTTP client (unlike Firefox's) doesn't
automatically handle redirects for you; you need to grub around for
where it wants to send you.

In this case, try checking the response-code, and if it's a redirect
code, then look at the response-location.  See response-location in the
manual.

Cheers,

Andy
-- 
http://wingolog.org/

Reply via email to