xml wrote:
Quote:
Can anybody tell me a way to set the host header value on a DTD request
through an XmlDocument object?
(I'm using the 1.1 Framework, VB.NET under ASP.NET) |
If you want to set HTTP headers then you need to use "lower level" APIs
like HttpWebRequest. But even there the documentation on the Headers
property says that 'Host' is not a header that can be set, rather it is
set by the system itself:
<URL:http://msdn2.microsoft.com/en-us/library/system.net.httpwebrequest.headers(VS.71).aspx>
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/