1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 11:17:44 +00:00

LibWeb: Add & use 'HTTP whitespace' from '2.2. HTTP' in the Fetch spec

We had two independent definitions of this already, both referring to
the Fetch spec.
This commit is contained in:
Linus Groh 2022-07-10 19:20:49 +02:00
parent df3e25f1bb
commit e3798886ed
4 changed files with 10 additions and 12 deletions

View file

@ -21,8 +21,6 @@
namespace Web::XHR {
static constexpr Array<u8, 4> http_whitespace_bytes = { '\t', '\n', '\r', ' ' };
using XMLHttpRequestBodyInit = Variant<NonnullRefPtr<URL::URLSearchParams>, String>;
class XMLHttpRequest final