| 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 db0e5496be2e3d18425f711e07e87570698683e8..b565a45e6597e33c7bd3d358d3ba8cc7f6970845 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Request.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Request.cpp
|
| @@ -752,6 +752,12 @@ String Request::MimeType() const {
|
| return request_->MimeType();
|
| }
|
|
|
| +String Request::ContentType() const {
|
| + String result;
|
| + request_->HeaderList()->Get(HTTPNames::Content_Type, result);
|
| + return result;
|
| +}
|
| +
|
| void Request::RefreshBody(ScriptState* script_state) {
|
| v8::Local<v8::Value> request = ToV8(this, script_state);
|
| if (request.IsEmpty()) {
|
|
|