ladybird/Libraries/LibWeb/Fetch/Infrastructure/HTTP
Timothy Flynn f675cfe90f LibWeb: Store HTTP methods and headers as ByteString
The spec declares these as a byte sequence, which we then implemented as
a ByteBuffer. This has become pretty awkward to deal with, as evidenced
by the plethora of `MUST(ByteBuffer::copy(...))` and `.bytes()` calls
everywhere inside Fetch. We would then treat the bytes as a string
anyways by wrapping them in StringView everywhere.

We now store these as a ByteString. This is more comfortable to deal
with, and we no longer need to continually copy underlying storage (as
ByteString is ref-counted).

This work is largely preparatory for an upcoming HTTP header refactor.
2025-11-26 09:15:06 -05:00
..
Bodies.cpp LibWeb: Add "parallel queue" and allow it as fetch task destination 2025-07-17 00:13:39 +02:00
Bodies.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Headers.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Headers.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Methods.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Methods.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Requests.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Requests.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Responses.cpp LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Responses.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
Statuses.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Statuses.h LibWeb: Enable EXPLICIT_SYMBOL_EXPORT 2025-08-23 16:04:36 -06:00