mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09:00
LibWeb: Set Cookie header on remaining resource requests
This commit is contained in:
parent
0cacc52990
commit
0f47a23e8e
Notes:
sideshowbarker
2024-07-18 20:18:56 +09:00
Author: https://github.com/trflynn89
Commit: 0f47a23e8e
Pull-request: https://github.com/SerenityOS/serenity/pull/6321
4 changed files with 5 additions and 9 deletions
|
@ -202,9 +202,8 @@ DOM::ExceptionOr<void> XMLHttpRequest::send()
|
|||
return {};
|
||||
}
|
||||
|
||||
LoadRequest request;
|
||||
auto request = LoadRequest::create_for_url_on_page(request_url, m_window->document().page());
|
||||
request.set_method(m_method);
|
||||
request.set_url(request_url);
|
||||
for (auto& it : m_request_headers)
|
||||
request.set_header(it.key, it.value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue