Index: third_party/WebKit/Source/modules/fetch/Request.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/Request.cpp b/third_party/WebKit/Source/modules/fetch/Request.cpp |
index 00ba26291a2684a1cfac005df2b801d52f230d64..f21024f41a88b3d058f1f894cd1f51a1099a4c46 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Request.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Request.cpp |
@@ -713,6 +713,12 @@ void Request::populateWebServiceWorkerRequest( |
// this information in to here. |
} |
+String Request::contentType() const { |
+ String result; |
+ m_request->headerList()->get(HTTPNames::Content_Type, result); |
+ return result; |
+} |
+ |
String Request::mimeType() const { |
return m_request->mimeType(); |
} |