[Rails] Re: Different GET response w/ wget and w/ em-http-request
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?
Fred
> Any ideas how to fix this?
>
> TIA,
> 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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home