summaryrefslogtreecommitdiff
path: root/test/test_fields.py
Commit message (Collapse)AuthorAgeFilesLines
* Align multipart parameter encoding with current WHATWG HTML standardDavid Lord2021-06-101-39/+48
|
* Remove support for Python 2 and 3.5Hugo van Kemenade2020-11-151-14/+13
| | | | | | | | - Upgrades syntax to Python 3.6+ with f-strings - Removes most usage of six - Removes documentation relevant to Python 2 - Removes universal wheel config - Removes mock dependency for testing
* Sort imports with 'isort'Quentin Pradet2020-10-011-1/+1
|
* Auto formatting using blackRatan Kulshreshtha2019-05-251-51/+57
|
* Encode field names using HTML5 by default instead of RFC 2231 (#1492)Robb2019-03-221-8/+39
|
* A bit more parameterisationAlex Chan2017-06-051-4/+7
|
* Rewrite test_fields.py to be pytest-styleAlex Chan2017-06-051-20/+17
|
* F401 Entity imported but unusedSeth Michael Larson2017-01-231-1/+1
|
* Explicitly check if a value in a multipart header is None instead of just a ↵Eric Ahn2016-10-311-0/+9
| | | | falsy value
* Fixing a test import bug; shutting up flake8 with sixJesse Shapiro2016-03-161-1/+1
|
* Adding Python2-only test decoratorJesse Shapiro2016-03-161-4/+5
|
* Handling errors around Unicode encoding differentlyJesse Shapiro2016-03-161-1/+7
|
* Fixed test_fields on Windows and some PEP8 love.schlamar2013-11-251-19/+24
|
* Handle non-ascii headers in multipart/form-dataMartin von Gagern2013-08-071-1/+6
| | | | | Second stab at shazow/urllib3#119, now integrated with the RequestField infrastructure.
* Added concept of a `RequestField`.Stephen Holsapple2013-08-011-0/+39
A `RequestField` is a data container the encapsulates what data is needed to build post bodies of various forms. The `encode_multipart_formdata` function was adjusted to always expect objects of type `RequestField`, and a backwards compatible factory-style method was added to account for the old tuple-style way of passing around the post body fields. For inspiration of the change, see https://github.com/shazow/urllib3/issues/215