httpie-cli/httpie/cli
Mickaël Schoentgen c6cbc7dfa5
Uniformize UTF-8 naming (#1115)
* Uniformize UTF-8 naming

Replace `utf8` -> `utf-8` everywhere.
It should have no impact, `utf8` is an alias of `utf-8` [1].

[1] ee03bad25e/Lib/encodings/aliases.py (L534)

* Always specify the encoding

Let's be explicit over implicit. And prevent future warnings from PEP-597 [1].

[1] https://www.python.org/dev/peps/pep-0597/#using-the-default-encoding-is-a-common-mistake

* Update `UTF8` constant (`utf-8` -> `utf_8`)

* Remove default argument from `str.encode()` and `bytes.decode()`

* Clean-up
2021-08-05 20:58:43 +02:00
..
__init__.py Refactoring 2019-08-31 15:17:10 +02:00
argparser.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
argtypes.py Review OSError exceptions handling (#1080) 2021-05-31 10:10:41 +02:00
constants.py Cleanup (#993) 2020-12-21 12:03:25 +01:00
definition.py Fix several issues found with flake8 (#1081) 2021-06-01 14:46:58 +02:00
dicts.py Add support for streamed uploads, --chunked, finish --multipart, etc. 2020-09-28 12:16:57 +02:00
exceptions.py Refactoring 2019-08-31 15:17:10 +02:00
requestitems.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00