Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-07-20 | LibWeb: Move extract_mime_type() from XMLHttpRequest to HeaderList | Linus Groh | |
Except some minor tweaks, this is a direct copy of Luke's initial implementation in XMLHttpRequest, now replacing the former. | |||
2022-07-20 | LibWeb: Fix accidental (name, name) header in Headers::fill() | Linus Groh | |
This makes two more WPT tests pass here: http://wpt.live/fetch/api/headers/headers-basic.any.html | |||
2022-07-19 | LibWeb: Implement '5.1. Headers class' from the Fetch API :^) | Linus Groh | |
2022-07-19 | LibWeb: Implement HeaderList::sort_and_combine() | Linus Groh | |
2022-07-19 | LibWeb: Implement CaseInsensitiveBytesTraits::equals() | Linus Groh | |
Turns out HashTable::contains() doesn't solely use hash() for equality checks, so the lack of a proper equals() implementation broke the check in convert_header_names_to_a_sorted_lowercase_set() and caused duplicate entries in header_names_set. | |||
2022-07-19 | LibWeb: Move Fetch infra into the Web::Fetch::Infrastructure namespace | Linus Groh | |
The Fetch spec unfortunately will cause a name clash between the Request concept and the Request JS object - both cannot live in the Web::Fetch namespace, and WrapperGenerator generally assumes `Web::<Name>` for things living in the `<Name>/` subdirectory, so let's instead move infra code into its own namespace - it already sits in a (sub-)subdirectory anyway. | |||
2022-07-18 | LibWeb: Add Blob to Fetch's Body::SourceType variant | Linus Groh | |
2022-07-16 | LibWeb: Add definitions from '2.2.6. Responses' in the Fetch spec | Linus Groh | |
2022-07-15 | LibWeb: Add definitions from '2.2.5 Requests' in the Fetch spec | Linus Groh | |
2022-07-15 | LibWeb: Add a couple of missing includes to Fetch's Headers.h | Linus Groh | |
2022-07-14 | LibWeb: Add definitions from '2.2.4. Bodies' in the Fetch spec | Linus Groh | |
...at least the ones that don't require an implementation of the Streams spec :^) | |||
2022-07-14 | LibWeb: Add definitions from '2.2.3. Statuses' in the Fetch spec | Linus Groh | |
2022-07-14 | LibWeb: Add definitions from '2.2.2. Headers' in the Fetch spec | Linus Groh | |
2022-07-14 | LibWeb: Add definitions from '2.2.1. Methods' in the Fetch spec | Linus Groh | |
2022-07-14 | LibWeb: Mark Fetch::collect_an_http_quoted_string() [[nodiscard]] | Linus Groh | |
2022-07-14 | LibWeb: Make Fetch::collect_an_http_quoted_string()'s 2nd param optional | Linus Groh | |
2022-07-14 | LibWeb: Move Fetch::collect_an_http_quoted_string() into HTTP.{cpp,h} | Linus Groh | |
The Fetch spec is too big to have a generic AbstractOperations.{cpp,h} file, so let's keep AOs in their section-specific files. | |||
2022-07-14 | LibWeb: Add & use 'HTTP whitespace' from '2.2. HTTP' in the Fetch spec | Linus Groh | |
We had two independent definitions of this already, both referring to the Fetch spec. | |||
2022-07-14 | LibWeb: Add & use 'HTTP tab or space' from '2.2. HTTP' in the Fetch spec | Linus Groh | |
2022-07-14 | LibWeb: Add definitions from '2.1. URL' in the Fetch spec | Linus Groh | |
2022-02-12 | LibWeb: Implement spec-compliant MIME type struct and parser | Luke Wilde | |
This will be used by XHR to extract the Content-Type MIME type to retrieve the charset. |