]>
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 | ||
7df0bfd7 | 9 | #ifndef SQUID_ACLHTTPREQHEADER_H |
10 | #define SQUID_ACLHTTPREQHEADER_H | |
63be0a78 | 11 | |
8319d478 AR |
12 | #include "acl/Data.h" |
13 | #include "acl/ParameterizedNode.h" | |
00634927 | 14 | #include "HttpHeader.h" |
15 | ||
8319d478 | 16 | namespace Acl |
00634927 | 17 | { |
18 | ||
8319d478 AR |
19 | /// a "req_header" ACL |
20 | class HttpReqHeaderCheck: public ParameterizedNode< ACLData<HttpHeader*> > | |
21 | { | |
00634927 | 22 | public: |
8319d478 AR |
23 | /* ACL API */ |
24 | int match(ACLChecklist *) override; | |
337b9aa4 | 25 | bool requiresRequest() const override { return true; } |
00634927 | 26 | }; |
27 | ||
8319d478 AR |
28 | } // namespace Acl |
29 | ||
7df0bfd7 | 30 | #endif /* SQUID_ACLHTTPREQHEADER_H */ |
f53969cc | 31 |