Home | History | Annotate | Download | only in http

Lines Matching refs:HttpUtil

58 size_t HttpUtil::FindDelimiter(const string& line, size_t search_start,
91 void HttpUtil::ParseContentType(const string& content_type_str,
190 bool HttpUtil::ParseRanges(const std::string& headers,
193 HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
211 bool HttpUtil::ParseRangeHeader(const std::string& ranges_specifier,
282 bool HttpUtil::HasHeader(const std::string& headers, const char* name) {
305 std::string HttpUtil::StripHeaders(const std::string& headers,
309 net::HttpUtil::HeadersIterator it(headers.begin(), headers.end(), "\r\n");
330 bool HttpUtil::IsNonCoalescingHeader(string::const_iterator name_begin,
353 bool HttpUtil::IsLWS(char c) {
357 void HttpUtil::TrimLWS(string::const_iterator* begin,
369 bool HttpUtil::IsQuote(char c) {
376 std::string HttpUtil::Unquote(std::string::const_iterator begin,
410 std::string HttpUtil::Unquote(const std::string& str) {
415 std::string HttpUtil::Quote(const std::string& str) {
439 int HttpUtil::LocateStartOfStatusLine(const char* buf, int buf_len) {
453 int HttpUtil::LocateEndOfHeaders(const char* buf, int buf_len, int i) {
489 if (HttpUtil::IsLWS(*name_begin))
506 if (!HttpUtil::IsLWS(*cur))
512 std::string HttpUtil::AssembleRawHeaders(const char* input_begin,
571 std::string HttpUtil::GenerateAcceptLanguageHeader(
597 std::string HttpUtil::GenerateAcceptCharsetHeader(const std::string& charset) {
607 void HttpUtil::AppendHeaderIfMissing(const char* header_name,
612 if (net::HttpUtil::HasHeader(*headers, header_name))
627 HttpUtil::HeadersIterator::HeadersIterator(string::const_iterator headers_begin,
633 HttpUtil::HeadersIterator::~HeadersIterator() {
636 bool HttpUtil::HeadersIterator::GetNext() {
666 bool HttpUtil::HeadersIterator::AdvanceTo(const char* name) {
680 HttpUtil::ValuesIterator::ValuesIterator(
688 HttpUtil::ValuesIterator::~ValuesIterator() {
691 bool HttpUtil::ValuesIterator::GetNext() {
704 HttpUtil::NameValuePairsIterator::NameValuePairsIterator(
719 HttpUtil::NameValuePairsIterator::~NameValuePairsIterator() {}
731 bool HttpUtil::NameValuePairsIterator::GetNext() {
747 if (HttpUtil::IsQuote(*it))
763 if (HttpUtil::IsQuote(*value_begin_)) {
775 unquoted_value_ = HttpUtil::Unquote(value_begin_, value_end_);