diff --git a/httpx/_utils.py b/httpx/_utils.py index dc809e45..9bfa779f 100644 --- a/httpx/_utils.py +++ b/httpx/_utils.py @@ -69,6 +69,13 @@ 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", }