Searched refs:kPrefix (Results 1 – 2 of 2) sorted by relevance
33 static const char kPrefix[] = "www."; in StripWWWPrefix() local34 static const unsigned kPrefixLen = sizeof(kPrefix) - 1; in StripWWWPrefix()39 memcmp(h.data(), kPrefix, kPrefixLen) == 0) { in StripWWWPrefix()
707 const std::string kPrefix = "no-cache=\""; in AddNonCacheableHeaders() local711 if (value.size() > kPrefix.size() && in AddNonCacheableHeaders()712 value.compare(0, kPrefix.size(), kPrefix) == 0) { in AddNonCacheableHeaders()718 size_t len = value.size() - kPrefix.size() - 1; in AddNonCacheableHeaders()719 TrimString(value.substr(kPrefix.size(), len), HTTP_LWS, &value); in AddNonCacheableHeaders()