Add "Host" to the Headers, getting an error (HTTPWebRequest)
<p>I must use this:</p>

<pre><code>HttpWebRequest request = (HttpWebRequest)WebRequest.Create(uri);
request.Headers.Add("Host", "gs.apple.com");
response = request.GetResponse();
</code></pre>

<p>But I get an error.
"This header must be modified using the appropriate property."</p>

<p>I googled a lot and found, that I should use a property or the HTTPWebRequest.
But there is no Host-Property.</p>

<p>I need to manipulate it, how I can do it?</p>

<p>(C#.Net)</p>
