MCPcopy Create free account
hub / github.com/apache/trafficserver / value_is_valid

Method value_is_valid

include/proxy/hdrs/MIME.h:1060–1070  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1058 -------------------------------------------------------------------------*/
1059
1060inline bool
1061MIMEField::value_is_valid(uint32_t invalid_char_bits) const
1062{
1063 auto value{value_get()};
1064 for (auto c : value) {
1065 if (ParseRules::is_type(c, invalid_char_bits)) {
1066 return false;
1067 }
1068 }
1069 return true;
1070}
1071
1072inline int
1073MIMEField::has_dups() const

Callers 2

convertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected