]> git.ipfire.org Git - thirdparty/httpx.git/commitdiff
Drop unneccessary JSON encodings
authorTom Christie <tom@tomchristie.com>
Tue, 31 Oct 2023 10:16:14 +0000 (10:16 +0000)
committerTom Christie <tom@tomchristie.com>
Tue, 31 Oct 2023 10:16:14 +0000 (10:16 +0000)
httpx/_utils.py

index 4ae6dba7d11d3393b5786db9f173396b58a156c4..f95658b6ce30323832ac7ccc635ca718ea200626 100644 (file)
@@ -69,13 +69,6 @@ SUPPORTED_CODECS = {
     "shift_jis",  # shift-jis
     "utf-8",  # utf-8
     "utf-16-le",  # utf-16le
-    # We also support the following UTF flavors...
-    "utf-8-sig",
-    "utf-16",
-    "utf-16-be",
-    "utf-32",
-    "utf-32-be",
-    "utf-32-le",
 }