requests / toolbelt

A toolbelt of useful classes and functions to be used with python-requests
https://toolbelt.readthedocs.org
Other
989 stars 186 forks source link

Using MultipartEncoder for binary file #378

Open daviddavo opened 2 months ago

daviddavo commented 2 months ago

In case I want to use MultipartEncoder for a binary file, what encoding and mimetype should I use? After I upload a file to some API, the md5 sum is not the same and I think this is the problem.