title: Python file upload from url using requests library
body: <p>I want to upload a file to an url. The file I want to upload is not on my computer, but I have the url of the file. I want to upload it using requests library. So, I want to do something like this:</p>
  
  <pre><code>url = 'http://httpbin.org/post'
  files = {'file': open('report.xls', 'rb')}
  r = requests.post(url, files=files)
  </code></pre>
  
  <p>But, only difference is, the file report.xls comes from some url which is not in my computer.</p>