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

Unified Diff: net/base/net_error_list.h

Issue 2753453003: Reject unadvertised encodings (Closed)
Patch Set: Reject unadvertised encodings. Created 3 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 | « no previous file | net/http/http_network_transaction.h » ('j') | net/http/http_network_transaction.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_error_list.h
diff --git a/net/base/net_error_list.h b/net/base/net_error_list.h
index e7a9052586d1da07689f53f7f1a067916f21a720..804c25db57371529f5b2455b1503e2c49716c8c2 100644
--- a/net/base/net_error_list.h
+++ b/net/base/net_error_list.h
@@ -702,6 +702,9 @@ NET_ERROR(CONTENT_DECODING_INIT_FAILED, -371)
// SpdyStream layer.
NET_ERROR(SPDY_RST_STREAM_NO_ERROR_RECEIVED, -372)
+// Content decoding of the response body failed.
+NET_ERROR(INVALID_CONTENT_ENCODING, -373)
Randy Smith (Not in Mondays) 2017/03/15 16:35:31 I"m inclined instead to make this CONTENT_DECODING
eustas 2017/03/16 12:08:16 Done. Yup, net/http -> net/filter dependency doesn
Randy Smith (Not in Mondays) 2017/03/16 17:50:43 I've gone back and forth on whether to ask you to
eustas 2017/03/20 13:05:18 No worries =)
+
// The cache does not have the requested entry.
NET_ERROR(CACHE_MISS, -400)
« no previous file with comments | « no previous file | net/http/http_network_transaction.h » ('j') | net/http/http_network_transaction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698