RegisteredHeaders.h
Go to the documentation of this file.
124};
150};
Definition: RegisteredHeaders.h:178
static const HeaderTableRecord BadHdr
used to signal "not found" from lookups
Definition: RegisteredHeaders.h:199
const HeaderTableRecord & lookup(Http::HdrType id) const
look record type up by header ID
Definition: RegisteredHeaders.h:192
std::vector< const HeaderTableRecord * > idCache
Definition: RegisteredHeaders.h:198
HeaderLookupTable_t()
Definition: RegisteredHeaders.cc:40
const HeaderTableRecord & lookup(const std::string &key) const
look record type up by name (std::string)
Definition: RegisteredHeaders.h:184
const HeaderTableRecord & lookup(const SBuf &key) const
look record type up by name (SBuf)
Definition: RegisteredHeaders.h:188
const HeaderTableRecord & lookup(const char *buf, const std::size_t len) const
look record type up by name (C-string and length)
Definition: RegisteredHeaders.cc:32
Definition: RegisteredHeaders.h:153
HeaderTableRecord()=default
bool request
header with field values defined as #(values) in HTTP/1.1
Definition: RegisteredHeaders.h:164
bool denied304
header is not to be updated on receiving a 304 in cache revalidation (see HttpReply....
Definition: RegisteredHeaders.h:167
Definition: forward.h:18
std::ostream & operator<<(std::ostream &, const TunnelerAnswer &)
Definition: HttpTunnelerAnswer.cc:20
bool any_registered_header(const Http::HdrType id)
Definition: RegisteredHeaders.h:220
@ ftPSc
@ ftDate_1123_or_ETag
@ ftPContRange
@ ftETag
@ ftPCc
@ ftPRange
@ ftDate_1123
@ ftInvalid
@ ftInt64
@ ftStr
@ ftInt
bool any_HdrType_enum_value(const Http::HdrType id)
match any known header type, including OTHER and BAD
Definition: RegisteredHeaders.h:205
const HeaderLookupTable_t HeaderLookupTable
Definition: RegisteredHeaders.cc:60
bool any_valid_header(const Http::HdrType id)
match any valid header type, including OTHER but not BAD
Definition: RegisteredHeaders.h:212