httpie-cli/httpie/plugins
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 Minor clean-up (#1078) 2021-05-29 12:06:06 +02:00
base.py Added netrc support for auth plugins. 2020-06-16 11:05:00 +02:00
builtin.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
manager.py Use relative imports (#1057) 2021-05-05 14:13:39 +02:00
registry.py Use relative imports (#1057) 2021-05-05 14:13:39 +02:00