AK: Rename CaseInsensitiveStringTraits

To CaseInsensitiveASCIIStringTraits. This change indicates that these
traits are about ASCII-only insensitivity.
This commit is contained in:
Sam Kravitz
2025-12-21 23:31:17 -06:00
committed by Shannon Booth
parent 865b2b88b0
commit bef8423f0f
Notes: github-actions[bot] 2025-12-31 09:25:30 +00:00
5 changed files with 6 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ Vector<String> get_decode_and_split_header_value(StringView value)
Vector<ByteString> convert_header_names_to_a_sorted_lowercase_set(ReadonlySpan<ByteString> header_names)
{
// 1. Let headerNamesSet be a new ordered set.
HashTable<StringView, CaseInsensitiveStringTraits> header_names_seen;
HashTable<StringView, CaseInsensitiveASCIIStringTraits> header_names_seen;
Vector<ByteString> header_names_set;
// 2. For each name of headerNames, append the result of byte-lowercasing name to headerNamesSet.