]> git.ipfire.org Git - thirdparty/httpx.git/commit
Files without a filename should not set a Content-Type in multipart data. (#520)
authorMattwmaster58 <mattmarcus58@gmail.com>
Sat, 30 Nov 2019 19:46:44 +0000 (12:46 -0700)
committerTom Christie <tom@tomchristie.com>
Sat, 30 Nov 2019 19:46:44 +0000 (19:46 +0000)
commited949508a685d84d658b06807e2a9aeb5e3bedfa
treedf3fc767a620de34974e99ea09b48d14a398b5cf
parent7d45db068bd87a0721a52e97d2b81e557e0be0d0
Files without a filename should not set a Content-Type in multipart data. (#520)

* File upoads with no filename should not set a Content-Type in their multipart data.
* Update type annotations to allow file uploads to be a string
httpx/models.py
httpx/multipart.py
tests/test_multipart.py