ladybird/Userland/Libraries/LibWeb/Fetch
Timothy Flynn 6056428cb5 LibWeb: Support unbuffered fetch requests
Supporting unbuffered fetches is actually part of the fetch spec in its
HTTP-network-fetch algorithm. We had previously implemented this method
in a very ad-hoc manner as a simple wrapper around ResourceLoader. This
is still the case, but we now implement a good amount of these steps
according to spec, using ResourceLoader's unbuffered API. The response
data is forwarded through to the fetch response using streams.

This will eventually let us remove the use of ResourceLoader's buffered
API, as all responses should just be streamed this way. The streams spec
then supplies ways to wait for completion, thus allowing fully buffered
responses. However, we have more work to do to make the other parts of
our fetch implementation (namely, Body::fully_read) use streams before
we can do this.
2024-05-26 18:29:24 +02:00
..
Fetching LibWeb: Support unbuffered fetch requests 2024-05-26 18:29:24 +02:00
Infrastructure LibWeb: Support unbuffered fetch requests 2024-05-26 18:29:24 +02:00
Body.cpp LibWeb: Change Fetch's ProcessBodyError to accept a plain JS value 2024-05-20 16:57:52 -04:00
Body.h LibWeb/Fetch: Implement Body::bytes() 2024-05-19 16:25:50 +02:00
Body.idl LibWeb/Fetch: Implement Body::bytes() 2024-05-19 16:25:50 +02:00
BodyInit.cpp LibWeb: Enqueue body chunks in Fetch::extract_body() 2024-05-20 16:57:52 -04:00
BodyInit.h LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
BodyInit.idl LibWeb: Rename URL platform object to DOMURL 2024-02-25 08:54:31 +01:00
Enums.cpp LibWeb/Fetch: Support setting request priority from JS 2024-05-07 17:27:37 -06:00
Enums.h LibWeb/Fetch: Support setting request priority from JS 2024-05-07 17:27:37 -06:00
FetchMethod.cpp LibWeb/Fetch: Don't crash when a fetch request times out 2024-04-14 13:36:25 +02:00
FetchMethod.h
Headers.cpp LibWeb: Remove OOM propagation from Fetch::Headers 2024-04-28 12:32:04 +02:00
Headers.h LibWeb: Remove OOM propagation from Fetch::Headers 2024-04-28 12:32:04 +02:00
Headers.idl
HeadersIterator.cpp LibWeb: Remove OOM propagation from Fetch::Infrastructure::Headers 2024-04-27 07:08:14 +02:00
HeadersIterator.h LibWeb: Remove OOM propagation from Fetch::Infrastructure::Headers 2024-04-27 07:08:14 +02:00
Request.cpp LibWeb/Fetch: Support setting request priority from JS 2024-05-07 17:27:37 -06:00
Request.h LibWeb/Fetch: Support setting request priority from JS 2024-05-07 17:27:37 -06:00
Request.idl LibWeb/Fetch: Support setting request priority from JS 2024-05-07 17:27:37 -06:00
Response.cpp LibWeb: Assign the Content-Type fetch response header as appropriate 2024-04-28 12:32:04 +02:00
Response.h LibWeb: Remove OOM propagation from Fetch::Response 2024-04-28 12:32:04 +02:00
Response.idl