mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
AK: Rename CaseInsensitiveStringTraits
To CaseInsensitiveASCIIStringTraits. This change indicates that these traits are about ASCII-only insensitivity.
This commit is contained in:
committed by
Shannon Booth
parent
865b2b88b0
commit
bef8423f0f
Notes:
github-actions[bot]
2025-12-31 09:25:30 +00:00
Author: https://github.com/samkravitz Commit: https://github.com/LadybirdBrowser/ladybird/commit/bef8423f0fa Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7218
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user