ladybird/Services
Timothy Flynn 9b8f6b8108 RequestServer: Issue a network request for failed cached responses
If transferring a cached response body fails for any reason, we will now
issue a network request instead of failing the request outright.

The catch here is that we will have already transferred the response
code and headers to the client, and potentially some of the body. So we
attempt to only request the remaining data over the network using a
range request. This feels a bit sketchy, but this is also how Chromium
behaves.

However, the server may or may not support range requests. If they do,
we can expect an HTTP 206 response with the bytes we need. If not, we
will receive an HTTP 200 (assuming the request succeeded), along with
the entire object's body. In this case, we also behave like Chromium,
and internally drop number of bytes we had already transferred.
2025-10-16 09:06:48 -04:00
..
ImageDecoder ImageDecoder: Enable in Windows CI 2025-08-23 16:04:36 -06:00
RequestServer RequestServer: Issue a network request for failed cached responses 2025-10-16 09:06:48 -04:00
WebContent LibWeb+LibWebView+WebContent: Reset pinch-to-zoom state on Ctrl/Cmd+0 2025-10-10 15:37:45 +02:00
WebDriver Services/WebDriver: Enable on Windows 2025-09-15 09:19:52 +02:00
WebWorker LibWeb: Implement cookie fetching for Workers 2025-09-09 15:28:38 +02:00
CMakeLists.txt Services/WebDriver: Enable on Windows 2025-09-15 09:19:52 +02:00