title: Error 400 'bad request' when trying to cURL RSS feed
body: <p>I'm trying to scrape the below feed (with permission) via PHP cURL:</p>
  
  <pre><code>http://www.safc.com/Home/RSS Feeds/News%20Feed
  </code></pre>
  
  <p>Loads fine in a browser, but gives me a 400 'bad request' with cURL.</p>
  
  <pre><code>$ch = curl_init($uri); //http://www.safc.com/Home/RSS Feeds/News%20Feed
  curl_setopt_array($ch, array(
      CURLOPT_RETURNTRANSFER =&gt; 1,
      CURLOPT_ENCODING =&gt; '',
      CURLOPT_TIMEOUT =&gt; CURL_CONNECT_TIMEOUT,
      CURLOPT_USERAGENT =&gt; CURL_USER_AGENT,
      CURLOPT_SSL_VERIFYPEER =&gt; false,
      CURLOPT_FOLLOWLOCATION =&gt; true
  ));
  $ret = curl_exec($ch);
  </code></pre>
  
  <p>Result is a 400; I know this from looking in <code>curl_getinfo()</code>.</p>
  
  <p><code>CURL_USER_AGENT</code> is an arbitrary identifier as I realised some other feeds wouldn't spit out content unless this header was present. I have tried removing the headers one by one, and tried adding a few more, but that approach feels a bit needle/haystack.</p>
  
  <p>Before I approach the owners of the site, does anyone know how I might resolve this?</p>