I\'m using the Python requests lib to get a PDF file from the web. This works fine, but I now also want the original filename. If I go to a PDF file in Firefox and click
Apparently, for this particular resource it is in:
r.headers['content-disposition']
Don't know if it is always the case, though.