title: Python - Requests HTTP range not working
body: <p>According to <a href="https://stackoverflow.com/questions/23602412/only-download-a-part-of-the-document-using-python-requests">this</a> answer I can use the Range header to download only a part of an html page, but with this code: </p>
  
  <pre><code>import requests
  
  url = "http://stackoverflow.com"
  headers = {"Range": "bytes=0-100"}  # first 100 bytes
  
  r = requests.get(url, headers=headers)
  
  print r.text
  </code></pre>
  
  <p>I get the whole html page. Why isn't it working?</p>