const char * findDigits(const char *prefix, const char *valueEnd) const
bool goodSuffix(const char *suffix, const char *const end) const
checks whether all characters after the Content-Length are allowed
const char * prohibitedAndIgnored() const
bool checkList(const String &list)
handles Content-Length: a, b, c
bool checkField(const String &field)
bool sawBad
whether a malformed Content-Length value was present
const char * prohibitedAndIgnored_
whether and why Content-Length is prohibited
void applyStatusCodeRules(const StatusCode code)
prohibits Content-Length in 1xx and 204 responses
const int debugLevel
debugging level for certain warnings
bool checkValue(const char *start, const int size)
void applyTrailerRules()
prohibits Content-Length in GET/HEAD requests
const char * headerWideProblem
worst header-wide problem found (or nil)