1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-28 08:38:44 +02:00
httpie-cli/httpie
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
..
cli Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
output Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
plugins Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
__init__.py Normalize the version (#1101) 2021-07-01 10:34:51 +02:00
__main__.py Remove an useless shebang form non-executable file (#1073) 2021-05-27 19:17:04 +02:00
client.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
compat.py Python 2.7 support removal WIP 2019-08-29 08:53:56 +02:00
config.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
constants.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
context.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
core.py Fix printing redirected prepared request in verbose mode (#1088) 2021-06-15 13:39:46 +02:00
downloads.py --download: Use time.monotonic() and rework code to prevent ZeroDivisionError specific handling (#1113) 2021-07-29 16:05:56 +02:00
models.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
sessions.py Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
ssl.py Request content type 2020-09-25 14:44:22 +02:00
status.py Cleanup 2019-12-02 00:58:10 +01:00
uploads.py Use relative imports (#1057) 2021-05-05 14:13:39 +02:00
utils.py Add internal support for file-like object responses to improve adapter plugin support (#1094) 2021-07-06 21:00:06 +02:00