Index: net/http/http_util.cc |
diff --git a/net/http/http_util.cc b/net/http/http_util.cc |
index 7757df45a0be7a7560706e08c4868664df5d52cf..38b288d072030e8fba142c66dff5087f51095382 100644 |
--- a/net/http/http_util.cc |
+++ b/net/http/http_util.cc |
@@ -684,16 +684,6 @@ std::string HttpUtil::GenerateAcceptLanguageHeader( |
return lang_list_with_q; |
} |
-std::string HttpUtil::GenerateAcceptCharsetHeader(const std::string& charset) { |
- std::string charset_with_q = charset; |
- if (LowerCaseEqualsASCII(charset, "utf-8")) { |
- charset_with_q += ",*;q=0.5"; |
- } else { |
- charset_with_q += ",utf-8;q=0.7,*;q=0.3"; |
- } |
- return charset_with_q; |
-} |
- |
void HttpUtil::AppendHeaderIfMissing(const char* header_name, |
const std::string& header_value, |
std::string* headers) { |