title: Python/Django "BadStatusLine" error
body: <p>I'm getting a weird error that I can't seem to find a solution for.</p>
  
  <p>This error does not occur every time I hit this segment of code, and neither does it happen for the same iteration through the loop (it happens in a loop). If I run it enough, it doesn't seem to encounter the error and the program executes successfully. Regardless, I'd still like to figure out why this is happening.</p>
  
  <p>Here is my error, versions, trace, etc: <a href="http://dpaste.com/681658/">http://dpaste.com/681658/</a></p>
  
  <p>It seems to happen with the following line in my code:</p>
  
  <pre><code>page = urllib2.urlopen(url)
  </code></pre>
  
  <p>Where url is.... a URL obviously.</p>
  
  <p>And do have <code>import urllib2</code> in my code.</p>