1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:47:44 +00:00

LibWeb: Add & use 'HTTP tab or space' from '2.2. HTTP' in the Fetch spec

This commit is contained in:
Linus Groh 2022-07-11 22:11:03 +01:00
parent 7c2c9b6859
commit df3e25f1bb
2 changed files with 20 additions and 3 deletions

View file

@ -0,0 +1,18 @@
/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Forward.h>
#include <AK/StringView.h>
namespace Web::Fetch {
// https://fetch.spec.whatwg.org/#http-tab-or-space
// An HTTP tab or space is U+0009 TAB or U+0020 SPACE.
inline constexpr StringView HTTP_TAB_OR_SPACE = "\t "sv;
}