By default HttpWebRequest follows redirects before returning a result. You can turn off this behavior as follows:
httpReq.AllowAutoRedirect = false;
If you want to allow a specific number of redirections, but no more, then you can set the MaximumAutomaticRedirections
property, which is 50 by default.