ladybird/Libraries/LibRequests
Timothy Flynn aa1517b727 LibHTTP+LibWeb+RequestServer: Handle the Fetch API's cache mode
If the cache mode is no-store, we must not interact with the cache at
all.

If the cache mode is reload, we must not use any cached response.

If the cache-mode is only-if-cached or force-cache, we are permitted
to respond with stale cache responses.

Note that we currently cannot test only-if-cached in test-web. Setting
this mode also requires setting the cors mode to same-origin, but our
http-test-server infra requires setting the cors mode to cors.
2026-01-22 07:05:06 -05:00
..
ALPNHttpVersion.h RequestServer: Retrieve timing info from curl and pipe it to LibWeb 2025-03-06 09:00:53 -07:00
CacheSizes.cpp LibRequests+RequestServer: Add a method to estimate disk cache size 2025-11-12 09:06:21 -05:00
CacheSizes.h LibRequests+RequestServer: Add a method to estimate disk cache size 2025-11-12 09:06:21 -05:00
CMakeLists.txt LibWeb+LibWebView+LibRequests: Reduce dependency on LibIPC includes 2025-12-01 15:12:52 +01:00
Forward.h RequestServer: Retrieve timing info from curl and pipe it to LibWeb 2025-03-06 09:00:53 -07:00
NetworkError.h LibRequests+RequestServer: Add an error code for CURLE_PARTIAL_FILE 2026-01-08 11:59:12 +01:00
Request.cpp LibRequests+RequestServer: Store request IDs as u64 2025-12-12 10:54:33 -05:00
Request.h LibRequests+RequestServer: Store request IDs as u64 2025-12-12 10:54:33 -05:00
RequestClient.cpp LibHTTP+LibWeb+RequestServer: Handle the Fetch API's cache mode 2026-01-22 07:05:06 -05:00
RequestClient.h LibHTTP+LibWeb+RequestServer: Handle the Fetch API's cache mode 2026-01-22 07:05:06 -05:00
RequestTimingInfo.cpp LibWeb+LibWebView+LibRequests: Reduce dependency on LibIPC includes 2025-12-01 15:12:52 +01:00
RequestTimingInfo.h LibWeb+LibWebView+LibRequests: Reduce dependency on LibIPC includes 2025-12-01 15:12:52 +01:00
WebSocket.cpp LibRequests+RequestServer: Store websocket IDs as u64 2025-12-12 10:54:33 -05:00
WebSocket.h LibRequests+RequestServer: Store websocket IDs as u64 2025-12-12 10:54:33 -05:00