mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-18 00:02:01 +00:00
Meta+LibC through LibHTTP: Make clang-format-10 clean
Why break at LibHTTP? Because "Meta+Libraries" would be insanely large, and breaking between LibHTTP and LibJS makes the commits roughly evenly large.
This commit is contained in:
parent
64cc3f51d0
commit
ede5dbd7b3
Notes:
sideshowbarker
2024-07-19 02:14:39 +09:00
Author: https://github.com/BenWiederhake
Commit: ede5dbd7b3
Pull-request: https://github.com/SerenityOS/serenity/pull/3541
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg
58 changed files with 87 additions and 89 deletions
|
@ -188,7 +188,7 @@ Optional<HttpRequest> HttpRequest::from_raw_request(const ByteBuffer& raw_reques
|
|||
return request;
|
||||
}
|
||||
|
||||
void HttpRequest::set_headers(const HashMap<String,String>& headers)
|
||||
void HttpRequest::set_headers(const HashMap<String, String>& headers)
|
||||
{
|
||||
for (auto& it : headers)
|
||||
m_headers.append({ it.key, it.value });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue