]>
Commit | Line | Data |
---|---|---|
79cb238d | 1 | /* |
f70aedc4 | 2 | * Copyright (C) 1996-2021 The Squid Software Foundation and contributors |
79cb238d | 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. | |
79cb238d FC |
7 | */ |
8 | ||
bbc27441 AJ |
9 | #ifndef SQUID_HTTPHEADERFIELDINFO_H_ |
10 | #define SQUID_HTTPHEADERFIELDINFO_H_ | |
11 | ||
d9b7869c | 12 | #include "http/RegisteredHeaders.h" |
f7ad4af5 | 13 | #include "HttpHeaderFieldStat.h" |
602d9612 | 14 | #include "SquidString.h" |
79cb238d | 15 | |
001d55dc | 16 | /// compiled version of HttpHeaderFieldAttrs plus stats. Currently a POD. |
79cb238d FC |
17 | class HttpHeaderFieldInfo |
18 | { | |
19 | public: | |
a5dd2f99 | 20 | HttpHeaderFieldInfo() : id(Http::HdrType::ACCEPT), type(Http::HdrFieldType::ftInvalid) {} |
79cb238d | 21 | |
789217a2 | 22 | Http::HdrType id; |
79cb238d | 23 | String name; |
a5dd2f99 | 24 | Http::HdrFieldType type; |
79cb238d FC |
25 | HttpHeaderFieldStat stat; |
26 | }; | |
27 | ||
79cb238d | 28 | #endif /* SQUID_HTTPHEADERFIELDINFO_H_ */ |
f53969cc | 29 |