Ruby on Rails Sunday, April 3, 2011

Quoting Frederick Cheung <frederick.cheung@gmail.com>:
>
>
> On Apr 3, 5:26 am, "Jeffrey L. Taylor" <r...@abluz.dyndns.org> wrote:
> > I am trying to fetchhttp://drdobbs.com/rss/all.  With wget or Firefox, works
> > fine.  With em-request-http, the server redirects to a login page - 302 status
> > code, HTML response and response LOCATION header set tohttps://login.techweb.com:443/cas/login?service=http%3A%2F%2Fdrdob
> > +bs.com%2Frss%2Fall&siteId=3600005&successfulLoginRedirect=http%3A%2F%2Fdrd obbs.
> > +com%2Frss%2Fall&gateway=true
> >
> have you tried asking em-request-http to follow redicects?
>

I have been following redirects manually. I'll try enabling it in the get call.

Thanks,
Jeffrey

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment