]>
Commit | Line | Data |
---|---|---|
00634927 | 1 | /* |
b8ae064d | 2 | * Copyright (C) 1996-2023 The Squid Software Foundation and contributors |
00634927 | 3 | * |
bbc27441 AJ |
4 | * Squid software is distributed under GPLv2+ license and includes |
5 | * contributions from numerous individuals and organizations. | |
6 | * Please see the COPYING and CONTRIBUTORS files for details. | |
00634927 | 7 | */ |
8 | ||
ff9d9458 FC |
9 | #ifndef SQUID_SRC_ACL_HTTPREQHEADER_H |
10 | #define SQUID_SRC_ACL_HTTPREQHEADER_H | |
63be0a78 | 11 | |
8319d478 AR |
12 | #include "acl/Data.h" |
13 | #include "acl/ParameterizedNode.h" | |
47c9c937 | 14 | #include "http/forward.h" |
00634927 | 15 | |
8319d478 | 16 | namespace Acl |
00634927 | 17 | { |
18 | ||
8319d478 | 19 | /// a "req_header" ACL |
47c9c937 | 20 | class HttpReqHeaderCheck: public ParameterizedNode< ACLData<const HttpHeader &> > |
8319d478 | 21 | { |
00634927 | 22 | public: |
922513e5 | 23 | /* Acl::Node API */ |
8319d478 | 24 | int match(ACLChecklist *) override; |
337b9aa4 | 25 | bool requiresRequest() const override { return true; } |
00634927 | 26 | }; |
27 | ||
8319d478 AR |
28 | } // namespace Acl |
29 | ||
ff9d9458 | 30 | #endif /* SQUID_SRC_ACL_HTTPREQHEADER_H */ |
f53969cc | 31 |