ladybird/Userland/Libraries/LibWeb/Fetch/Fetching
sideshowbarker 23da1752b5 LibWeb/Fetch: Set HTTP status code on cached responses
This change causes HTTP status codes to be set on cached HTTP responses.

Otherwise, without this change, no status codes at all are set on cached
HTTP responses — which causes all cached responses to default to being
loaded/served with a 200 status code. And as a result of that, if the
cached response is from a 30x redirect, then without this change, when
that cached 30x response is loaded, we don’t follow the redirect —
because we see a 200 status, rather than the expected/original 30x.

Fixes https://github.com/LadybirdBrowser/ladybird/issues/863

Note that this change also reverts the temporary workaround added in
f735c464d3
(https://github.com/LadybirdBrowser/ladybird/pull/899).
2024-08-14 14:49:04 +02:00
..
Checks.cpp LibWeb: Remove OOM propagation from Fetch::Infrastructure::Requests 2024-04-27 07:08:14 +02:00
Checks.h LibWeb: Remove OOM propagation from Fetch::Infrastructure::Requests 2024-04-27 07:08:14 +02:00
FetchedDataReceiver.cpp LibWeb: Support unbuffered fetch requests 2024-05-26 18:29:24 +02:00
FetchedDataReceiver.h LibWeb: Support unbuffered fetch requests 2024-05-26 18:29:24 +02:00
Fetching.cpp LibWeb/Fetch: Set HTTP status code on cached responses 2024-08-14 14:49:04 +02:00
Fetching.h LibWeb/Fetch: Add a constant for the keepalive maximum size 2024-08-11 20:07:10 +01:00
PendingResponse.cpp LibWeb: Use JS::HeapFunction in Fetch::Fetching::PendingResponse 2024-04-03 18:14:33 +02:00
PendingResponse.h LibWeb: Support unbuffered fetch requests 2024-05-26 18:29:24 +02:00
RefCountedFlag.cpp
RefCountedFlag.h