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

Unified Diff: net/url_request/url_request_http_job.h

Issue 9811006: Ignore Content-Length mismatches when Content-Length is too large. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove browser_tests Created 8 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
Index: net/url_request/url_request_http_job.h
diff --git a/net/url_request/url_request_http_job.h b/net/url_request/url_request_http_job.h
index f79fc1c75e8bc0475cacd95489c6129f8a34d067..0724b42429d0db7c6d475133ad20211c345f89d3 100644
--- a/net/url_request/url_request_http_job.h
+++ b/net/url_request/url_request_http_job.h
@@ -173,13 +173,6 @@ class URLRequestHttpJob : public URLRequestJob {
void OnCookieSaved(bool cookie_status);
void CookieHandled();
- // Some servers send the body compressed, but specify the content length as
- // the uncompressed size. If this is the case, we return true in order
- // to request to work around this non-adherence to the HTTP standard.
- // |rv| is the standard return value of a read function indicating the number
- // of bytes read or, if negative, an error code.
- bool ShouldFixMismatchedContentLength(int rv) const;
-
// Returns the effective response headers, considering that they may be
// overridden by |override_response_headers_|.
HttpResponseHeaders* GetResponseHeaders() const;

Powered by Google App Engine
This is Rietveld 408576698