Skip to content

Commit

Permalink
Use set instead of list
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchristie committed Oct 19, 2023
1 parent 8862a6f commit 8e8ef6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpx/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

# Text codecs as supported by Chromium, Oct. 2023.
# https://chromium.googlesource.com/chromium/chromium/+/refs/heads/trunk/chrome/browser/character_encoding.cc#36
SUPPORTED_CODECS = [
SUPPORTED_CODECS = {
"utf-8",
"utf-16le",
"iso-8859-1",
Expand Down Expand Up @@ -65,7 +65,7 @@
"iso-8859-10",
"iso-8859-14",
"iso-8859-16",
]
}


def normalize_header_key(
Expand Down

0 comments on commit 8e8ef6e

Please sign in to comment.