Checks.h 395 B

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