title: Python request.get() returns 404 page not found
body: <p>I have been having a little big of a funny behavior and would love an explanation as to why it is happening.</p>
  
  <p>I am using the following to grab a page and then parse through it:</p>
  
  <pre><code>r  = requests.get(html)
  </code></pre>
  
  <p>Now when I run this on a windows computer with python on a Webpage A it gets back the page as you would expect.</p>
  
  <p>However, when I run this same command on my Synology Diskstation(I believe Linux Based) it returns back a 404 page not found page instead of the entered url page.</p>
  
  <p>When I try different URL's it gives me back the right page on both systems.</p>
  
  <p>Any explanation as to how or why this is happening?</p>
  
  <p>EDIT: Just tried it on my MacBook at home as well and it works just fine. But for some reason it still does not work on the Diskstation :S</p>
  
  <p>EDIT:</p>
  
  <p>Headers from two machines</p>
  
  <p>Mac (Where it is working):</p>
  
  <pre><code>{'Content-Length': '17924', 'X-Content-Type-Options': 'nosniff', 'Content-Encoding': 'gzip', 'Set-Cookie': 'PHPSESSID=q86c56e1e4t1d8jsu0penc488oraladt; path=/', 'Vary': 'Host,Accept-Encoding', 'Keep-Alive': 'timeout=10, max=100', 'Server': 'Apache', 'Connection': 'Keep-Alive', 'Date': 'Tue, 24 Jan 2017 04:31:08 GMT', 'Content-Type': 'text/html'}
  </code></pre>
  
  <p>Diskstation (Where it is not):</p>
  
  <pre><code>{'X-Content-Type-Options': 'nosniff', 'Transfer-Encoding': 'chunked', 'Vary': 'Host', 'Keep-Alive': 'timeout=10, max=100', 'Server': 'Apache', 'Connection': 'Keep-Alive', 'Date': 'Tue, 24 Jan 2017 04:30:25 GMT', 'Content-Type': 'text/html'}
  </code></pre>