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

Unified Diff: Source/core/platform/network/MIMEHeader.cpp

Issue 22292008: Add 8bit Content-Transfer-Encoding support for reading MHTML files (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix line endings #5 Created 7 years, 4 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 | « Source/core/platform/network/MIMEHeader.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/network/MIMEHeader.cpp
diff --git a/Source/core/platform/network/MIMEHeader.cpp b/Source/core/platform/network/MIMEHeader.cpp
index 2c40a9bca7bcc46b535916aa2934b3170fa2920c..7e56eeac47f7b720030f27136b4a2c6d191d99db 100644
--- a/Source/core/platform/network/MIMEHeader.cpp
+++ b/Source/core/platform/network/MIMEHeader.cpp
@@ -120,6 +120,8 @@ MIMEHeader::Encoding MIMEHeader::parseContentTransferEncoding(const String& text
return Base64;
if (encoding == "quoted-printable")
return QuotedPrintable;
+ if (encoding == "8bit")
+ return EightBit;
if (encoding == "7bit")
return SevenBit;
if (encoding == "binary")
« no previous file with comments | « Source/core/platform/network/MIMEHeader.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698