On 6/6/08, Srijayanth Sridhar <srijayanth / gmail.com> wrote:
> Hello,
>
>  I wrote this piece of code: http://pastebin.com/m138ec5e4
>
>  I was looking at the examples posted on:
>  http://code.google.com/support/bin/answer.py?answer=93164&topic=11369
>
>  The problem seems to be that google is somehow redirecting and net
>  http isn't following. Is this known behaviour? If so is there a way
>  around it?
>
>  Thank you,
>
>  Jayanth
>

The documentation for Net::HTTP
(http://www.ruby-doc.org/stdlib/libdoc/net/http/rdoc/index.html) has a
section on following redirects. That might be of interest.