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

I am trying to fetch Dr. Dobb's 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

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 Cheung <frederick.cheung@gmail.com>:

> 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