ladybird/Libraries/LibRequests
Timothy Flynn 3663e12585 RequestServer: Do not request partial content for failed cache reads
This effectively reverts 9b8f6b8108.

I misunderstood what Chrome was doing here - they will issue a range
request only for what they call "sparse" cache entries. These entries
are basically used to cache partial large file, e.g. a multi-gigabyte
video. If they hit a legitimate read error, they will fail the request
with a ERR_CACHE_READ_FAILURE status.

We will now (again) fail with a network error when a cache read fails.
2025-11-21 08:48:42 +01: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 LibRequests+RequestServer: Add a method to estimate disk cache size 2025-11-12 09:06:21 -05:00
Forward.h RequestServer: Retrieve timing info from curl and pipe it to LibWeb 2025-03-06 09:00:53 -07:00
NetworkError.h RequestServer: Do not request partial content for failed cache reads 2025-11-21 08:48:42 +01:00
Request.cpp LibRequests: Create ReadStream abstraction for reading request data 2025-10-29 17:47:02 -04:00
Request.h LibRequests: Create ReadStream abstraction for reading request data 2025-10-29 17:47:02 -04:00
RequestClient.cpp LibRequests+RequestServer: Add a method to estimate disk cache size 2025-11-12 09:06:21 -05:00
RequestClient.h LibRequests+RequestServer: Add a method to estimate disk cache size 2025-11-12 09:06:21 -05:00
RequestTimingInfo.h LibRequests: Decode RequestTimingInfo IPC fields as i64's 2025-10-28 19:09:42 -04:00
WebSocket.cpp Meta: Enforce newlines around namespaces 2025-05-14 02:01:59 -06:00
WebSocket.h LibRequests: Clean up #include directives 2024-11-29 09:48:29 +01:00