Different GET response w/ wget and w/ em-http-request

I am trying to fetch http://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 to
https://login.techweb.com:443/cas/login?service=http%3A%2F%2Fdrdob
+bs.com%2Frss%2Fall&siteId=3600005&successfulLoginRedirect=http%3A%2F%2Fdrdobbs.
+com%2Frss%2Fall&gateway=true

Any ideas how to fix this?

TIA,
Jeffrey

On Apr 3, 5:26am, “Jeffrey L. Taylor” [email protected] 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

Quoting Frederick C. [email protected]:

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

Thanks,
Jeffrey

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs