2022-07-11 22:11:03 +01:00
|
|
|
/*
|
2023-03-02 23:26:35 +00:00
|
|
|
* Copyright (c) 2022-2023, Linus Groh <linusg@serenityos.org>
|
2022-07-10 19:25:42 +02:00
|
|
|
* Copyright (c) 2022, Luke Wilde <lukew@serenityos.org>
|
2022-07-11 22:11:03 +01:00
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <AK/Forward.h>
|
|
|
|
|
|
2022-07-17 23:52:02 +01:00
|
|
|
namespace Web::Fetch::Infrastructure {
|
2022-07-11 22:11:03 +01:00
|
|
|
|
2025-08-10 19:41:30 +02:00
|
|
|
enum class RedirectTaint {
|
|
|
|
|
SameOrigin,
|
|
|
|
|
SameSite,
|
|
|
|
|
CrossSite,
|
|
|
|
|
};
|
|
|
|
|
|
2025-11-26 14:13:23 -05:00
|
|
|
[[nodiscard]] ByteString const& default_user_agent_value();
|
2022-07-10 19:25:42 +02:00
|
|
|
|
2022-07-11 22:11:03 +01:00
|
|
|
}
|