diff --git a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Headers.cpp b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Headers.cpp index e12604921a..2b5addf6fd 100644 --- a/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Headers.cpp +++ b/Userland/Libraries/LibWeb/Fetch/Infrastructure/HTTP/Headers.cpp @@ -352,7 +352,7 @@ ErrorOr> convert_header_names_to_a_sorted_lowercase continue; auto bytes = TRY(ByteBuffer::copy(name)); Infra::byte_lowercase(bytes); - header_names_seen.set(bytes); + header_names_seen.set(name); header_names_set.append(move(bytes)); }