mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibHTTP+LibWeb: Move Infrastructure::Request::CacheMode to LibHTTP
We will need to send this enum over IPC to RequestServer to affect the disk cache's behavior.
This commit is contained in:
Notes:
github-actions[bot]
2026-02-06 11:18:01 +00:00
Author: https://github.com/trflynn89 Commit: https://github.com/LadybirdBrowser/ladybird/commit/6b911992531 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7546
@@ -72,7 +72,7 @@ WebIDL::ExceptionOr<GC::Ref<EventSource>> EventSource::construct_impl(JS::Realm&
|
||||
request->header_list()->set({ "Accept"sv, "text/event-stream"sv });
|
||||
|
||||
// 11. Set request's cache mode to "no-store".
|
||||
request->set_cache_mode(Fetch::Infrastructure::Request::CacheMode::NoStore);
|
||||
request->set_cache_mode(HTTP::CacheMode::NoStore);
|
||||
|
||||
// 12. Set request's initiator type to "other".
|
||||
request->set_initiator_type(Fetch::Infrastructure::Request::InitiatorType::Other);
|
||||
|
||||
Reference in New Issue
Block a user