mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:18:11 +00:00
LibWeb: LoadRequest::operator==() should compare header values
It was only comparing header names. Thanks to @Sponji for noticing!
This commit is contained in:
parent
574f49e4be
commit
d3d7ea7e75
1 changed files with 2 additions and 0 deletions
|
@ -64,6 +64,8 @@ public:
|
|||
auto jt = other.m_headers.find(it.key);
|
||||
if (jt == other.m_headers.end())
|
||||
return false;
|
||||
if (it.value != jt->value)
|
||||
return false;
|
||||
}
|
||||
return m_url == other.m_url && m_method == other.m_method && m_body == other.m_body;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue