G
Guest
Hi...
I've been working a bit with the HttpWebRequest class and one requirement
I've gotten recently is the desire to set the HTTP Host: header separately
from the specific machine referenced in the url. For example, the url
http://frontend1.east.company.com
but passing
Host: www.company.com
to emulate a call to the general front door.
I look in the HttpWebRequest documentation on MSDN, and under the Headers
property, it says specifically that the Host header's derived from the url
(implying that it can't be overridden).
Is there any way to do what I want to do?
Thanks
_mark
I've been working a bit with the HttpWebRequest class and one requirement
I've gotten recently is the desire to set the HTTP Host: header separately
from the specific machine referenced in the url. For example, the url
http://frontend1.east.company.com
but passing
Host: www.company.com
to emulate a call to the general front door.
I look in the HttpWebRequest documentation on MSDN, and under the Headers
property, it says specifically that the Host header's derived from the url
(implying that it can't be overridden).
Is there any way to do what I want to do?
Thanks
_mark