Home
last modified time | relevance | path

Searched refs:hasHeader (Results 1 – 7 of 7) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/base/
Dhttpclient.cc65 bool is_range_response = t.response.hasHeader(HH_CONTENT_RANGE, NULL); in HttpShouldCache()
66 bool has_expires = t.response.hasHeader(HH_EXPIRES, NULL); in HttpShouldCache()
78 if (t.response.hasHeader(HH_CACHE_CONTROL, &value)) { in HttpShouldCache()
114 if (t.response.hasHeader(HH_CACHE_CONTROL, &s_temp)) { in HttpGetCacheState()
120 if (!t.response.hasHeader(HH_DATE, &s_temp) in HttpGetCacheState()
134 if (t.response.hasHeader(HH_AGE, &s_temp) in HttpGetCacheState()
148 } else if (t.response.hasHeader(HH_EXPIRES, &s_temp) in HttpGetCacheState()
151 } else if (t.response.hasHeader(HH_LAST_MODIFIED, &s_temp) in HttpGetCacheState()
172 return request.hasHeader(HH_RANGE, NULL) ? HVS_STRONG : HVS_WEAK; in HttpRequestValidatorLevel()
178 if (response.hasHeader(HH_ETAG, &value)) { in HttpResponseValidatorLevel()
[all …]
Dhttpcommon.cc217 if ((data.hasHeader(HH_PROXY_CONNECTION, &connection) in HttpShouldKeepAlive()
218 || data.hasHeader(HH_CONNECTION, &connection))) { in HttpShouldKeepAlive()
472 HttpData::hasHeader(const std::string& name, std::string* value) const { in hasHeader() function in talk_base::HttpData
490 ASSERT(!hasHeader(HH_CONTENT_LENGTH, NULL)); in setDocumentAndLength()
491 ASSERT(!hasHeader(HH_TRANSFER_ENCODING, NULL)); in setDocumentAndLength()
563 if (!hasHeader(HH_HOST, &host)) in getAbsoluteUri()
582 if (!hasHeader(HH_HOST, host)) in getRelativeUri()
Dhttpcommon.h322 bool hasHeader(const std::string& name, std::string* value) const;
365 inline bool hasHeader(HttpHeader header, std::string* value) const { in hasHeader() function
366 return hasHeader(ToString(header), value); in hasHeader()
Dasynchttprequest.cc83 if (client_.response().hasHeader(HH_LOCATION, &value)) { in OnComplete()
Dhttprequest.cc124 if (client_.response().hasHeader(HH_LOCATION, &value)) { in Send()
Dhttpbase.cc434 if (data_->hasHeader(HH_TRANSFER_ENCODING, &encoding) in send()
/external/nist-sip/java/gov/nist/javax/sip/message/
DSIPMessage.java1448 public boolean hasHeader(String headerName) { in hasHeader() method in SIPMessage