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

Method name_is_valid

include/proxy/hdrs/MIME.h:961–971  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

959 -------------------------------------------------------------------------*/
960
961inline bool
962MIMEField::name_is_valid(uint32_t invalid_char_bits) const
963{
964 auto name{name_get()};
965 for (auto c : name) {
966 if (ParseRules::is_type(c, invalid_char_bits)) {
967 return false;
968 }
969 }
970 return true;
971}
972
973/*-------------------------------------------------------------------------
974 -------------------------------------------------------------------------*/

Callers 1

convertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected