mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 05:02:54 +00:00
22 lines
546 B
C++
22 lines
546 B
C++
/*
|
|
* 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;
|
|
|
|
// https://fetch.spec.whatwg.org/#http-whitespace
|
|
// HTTP whitespace is U+000A LF, U+000D CR, or an HTTP tab or space.
|
|
inline constexpr StringView HTTP_WHITESPACE = "\n\r\t "sv;
|
|
|
|
}
|