Index: third_party/WebKit/Source/modules/fetch/Response.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Response.cpp b/third_party/WebKit/Source/modules/fetch/Response.cpp |
index feeee6d1a678761bf68f8a76f55ef6a3d8e8f4cc..9ea416f84a27c0624ba9fd3b28b0144f80279038 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Response.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Response.cpp |
@@ -430,6 +430,12 @@ String Response::MimeType() const { |
return response_->MimeType(); |
} |
+String Response::ContentType() const { |
+ String result; |
+ response_->HeaderList()->Get(HTTPNames::Content_Type, result); |
+ return result; |
+} |
+ |
String Response::InternalMIMEType() const { |
return response_->InternalMIMEType(); |
} |