diff options
author | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 01:00:12 +0000 |
---|---|---|
committer | pauljensen@chromium.org <pauljensen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-15 01:00:12 +0000 |
commit | 84f05434c6ced947048613c671d29d1ee7bc43c0 (patch) | |
tree | ac3d6016c1fa95277127afe26c8cef47fd4aac15 /net/http/http_util.h | |
parent | 6e3c0bd0ee38e411f1659903d6f3bacda0c277e9 (diff) | |
download | chromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.zip chromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.tar.gz chromium_src-84f05434c6ced947048613c671d29d1ee7bc43c0.tar.bz2 |
Stop sending Accept-Charset HTTP header as its not relevant anymore. Remove it from HttpUserAgentSettings as well as this is no longer needed.
BUG=112804
Review URL: https://chromiumcodereview.appspot.com/12463021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188237 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_util.h')
-rw-r--r-- | net/http/http_util.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/http/http_util.h b/net/http/http_util.h index 8f15d13..9fe199b 100644 --- a/net/http/http_util.h +++ b/net/http/http_util.h @@ -176,11 +176,6 @@ class NET_EXPORT HttpUtil { static std::string GenerateAcceptLanguageHeader( const std::string& raw_language_list); - // Given a charset, return the list with a qvalue. If charset is utf-8, - // it will return 'utf-8,*;q=0.5'. Otherwise (e.g. 'euc-jp'), it'll return - // 'euc-jp,utf-8;q=0.7,*;q=0.3'. - static std::string GenerateAcceptCharsetHeader(const std::string& charset); - // Helper. If |*headers| already contains |header_name| do nothing, // otherwise add <header_name> ": " <header_value> to the end of the list. static void AppendHeaderIfMissing(const char* header_name, |