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

Unified Diff: extensions/common/api/mime_handler.mojom

Issue 1092163004: Ignore non-ASCII headers in the mimeHandlerPrivate API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: extensions/common/api/mime_handler.mojom
diff --git a/extensions/common/api/mime_handler.mojom b/extensions/common/api/mime_handler.mojom
index 30031e633f9c87c55d0ffcad35fcaeb4cded3266..7eefc02c1be4723e06fd9642f43a6bfd1b1272da 100644
--- a/extensions/common/api/mime_handler.mojom
+++ b/extensions/common/api/mime_handler.mojom
@@ -22,7 +22,7 @@ struct StreamInfo {
// The HTTP response headers of the intercepted request stored as a dictionary
// mapping header name to header value. If a header name appears multiple
// times, the header values are merged in the dictionary and separated by a
- // ",".
+ // ",". Non-ASCII headers are dropped.
map<string, string> response_headers;
// Whether the stream is embedded within another document.

Powered by Google App Engine
This is Rietveld 408576698