ladybird/Userland/Libraries/LibWeb/Fetch/Fetching/Checks.h

18 lines
395 B
C++

/*
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <AK/Forward.h>
#include <LibWeb/Forward.h>
namespace Web::Fetch::Fetching {
ErrorOr<bool> cors_check(Infrastructure::Request const&, Infrastructure::Response const&);
ErrorOr<bool> tao_check(Infrastructure::Request const&, Infrastructure::Response const&);
}