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

Unified Diff: net/url_request/url_request_http_job.cc

Issue 155065: Merge r19173.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: '' Created 11 years, 6 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 | « no previous file | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_http_job.cc
===================================================================
--- net/url_request/url_request_http_job.cc (revision 19709)
+++ net/url_request/url_request_http_job.cc (working copy)
@@ -553,12 +553,12 @@
if (!SdchManager::Global() ||
!SdchManager::Global()->IsInSupportedDomain(request_->url())) {
// Tell the server what compression formats we support (other than SDCH).
- request_info_.extra_headers += "Accept-Encoding: gzip,deflate,bzip2\r\n";
+ request_info_.extra_headers += "Accept-Encoding: gzip,deflate\r\n";
} else {
// Supply SDCH related headers, as well as accepting that encoding.
// Tell the server what compression formats we support.
request_info_.extra_headers += "Accept-Encoding: "
- "gzip,deflate,bzip2,sdch\r\n";
+ "gzip,deflate,sdch\r\n";
// TODO(jar): See if it is worth optimizing away these bytes when the URL is
// probably an img or such. (and SDCH encoding is not likely).
« no previous file with comments | « no previous file | net/url_request/url_request_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698