Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: net/http/http_util_unittest.cc

Issue 12463021: Stop sending Accept-Charset HTTP header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync (r188089) Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_util.cc ('k') | net/url_request/http_user_agent_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_util_unittest.cc
diff --git a/net/http/http_util_unittest.cc b/net/http/http_util_unittest.cc
index fc38137e54f387f7ebf3da4175a68eb764681475..083343dc5c5c92919d94bc6d310464c17e548c7b 100644
--- a/net/http/http_util_unittest.cc
+++ b/net/http/http_util_unittest.cc
@@ -632,13 +632,6 @@ TEST(HttpUtilTest, GenerateAcceptLanguageHeader) {
HttpUtil::GenerateAcceptLanguageHeader("en-US,fr,de,ko,zh-CN,ja"));
}
-TEST(HttpUtilTest, GenerateAcceptCharsetHeader) {
- EXPECT_EQ(std::string("utf-8,*;q=0.5"),
- HttpUtil::GenerateAcceptCharsetHeader("utf-8"));
- EXPECT_EQ(std::string("EUC-JP,utf-8;q=0.7,*;q=0.3"),
- HttpUtil::GenerateAcceptCharsetHeader("EUC-JP"));
-}
-
// HttpResponseHeadersTest.GetMimeType also tests ParseContentType.
TEST(HttpUtilTest, ParseContentType) {
const struct {
« no previous file with comments | « net/http/http_util.cc ('k') | net/url_request/http_user_agent_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698