HttpWebRequest and Host Headers- March 31, 2005 A user posted on the newsgroups asking about how to set Host headers in HttpWebRequest. HttpWebRequest does not allow the host header to be set by the user. It is set automatically from the URI supplied to HttpWebRequest constructor. However, it turns out that there is a roundabout way to accomplish this. This is shown in the following reply to the original...http://blogs.msdn.com/feroze_daud/archive/2005/03/31/404328.aspx |