kennethreitz/requests — pull request #752 by anentropic (2012-08-02 11:58:08+00:00)
Title: file posting example looked wrong

From what I can tell from the source code (down thru urllib3) the key in the `files` dict is always the 'fieldname', while specifying a custom 'filename' is optional.

So in this example it was confusing to have a `fieldname` of 'report.xls' (the same as the filename) when all the other examples use a fieldname of 'file'.