mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
Ladybird+LibWeb+WebContent: Port the did_request_cookie
IPC to String
This commit is contained in:
parent
dcd9962d7b
commit
85b8971a80
14 changed files with 16 additions and 16 deletions
|
@ -16,9 +16,9 @@ LoadRequest LoadRequest::create_for_url_on_page(const AK::URL& url, Page* page)
|
|||
request.set_url(url);
|
||||
|
||||
if (page) {
|
||||
ByteString cookie = page->client().page_did_request_cookie(url, Cookie::Source::Http);
|
||||
auto cookie = page->client().page_did_request_cookie(url, Cookie::Source::Http);
|
||||
if (!cookie.is_empty())
|
||||
request.set_header("Cookie", cookie);
|
||||
request.set_header("Cookie", cookie.to_byte_string());
|
||||
request.set_page(*page);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue