1
0
mirror of https://github.com/httpie/cli.git synced 2024-11-24 08:22:22 +02:00
httpie-cli/tests/fixtures
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 Uniformize UTF-8 naming (#1115) 2021-08-05 20:58:43 +02:00
.editorconfig Final touches for #1088 (#1091) 2021-06-15 14:48:44 +02:00
test.bin More unicode tests. 2014-04-26 17:53:01 +02:00
test.json Final touches for #1088 (#1091) 2021-06-15 14:48:44 +02:00
test.txt Final touches for #1088 (#1091) 2021-06-15 14:48:44 +02:00