title: System.Net.WebClient request gets 403 Forbidden but browsers do not with Apache servers
body: <p>An odd one, I'm trying to read the &lt;Head&gt; section of a lot of different websites out there, and one particular type of server, Apache, sometimes gives the code 403 forbidden. Not all apache servers do this, so it may be a config setting or a particular version of the server.</p>
  
  <p>When I then check the url with a web browser (Firefox, for example) the page loads fine.  The code sorta looks like this:</p>
  
  <pre><code>var client = new WebClient();
  var stream = client.OpenRead(new Uri("http://en.wikipedia.org/wiki/Barack_Obama"));
  </code></pre>
  
  <p>Normally, a 403 is a access permission failed sort of thing, but these are normally unsecure pages.  I'm thinking that Apache is filtering on something in the request headers since I'm not bothering to create any. </p>
  
  <p>Maybe someone who knows more about Apache can give me some ideas of what's missing in the headers.  I'd like to keep the headers as small as possible to minimize bandwidth.  </p>
  
  <p>Thanks </p>