| Index: Source/core/loader/FrameFetchContext.cpp
|
| diff --git a/Source/core/loader/FrameFetchContext.cpp b/Source/core/loader/FrameFetchContext.cpp
|
| index fa2d09f1637d988c985ebb7b46355737f4b31d9a..b5dd401117f5dea8ba03bdc88444bbeb2e7237dd 100644
|
| --- a/Source/core/loader/FrameFetchContext.cpp
|
| +++ b/Source/core/loader/FrameFetchContext.cpp
|
| @@ -45,8 +45,6 @@
|
|
|
| namespace WebCore {
|
|
|
| -static const char defaultAcceptHeader[] = "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8";
|
| -
|
| FrameFetchContext::FrameFetchContext(LocalFrame* frame)
|
| : m_frame(frame)
|
| {
|
| @@ -91,9 +89,6 @@ void FrameFetchContext::addAdditionalRequestHeaders(Document* document, Resource
|
|
|
| m_frame->loader().applyUserAgent(request);
|
|
|
| - if (isMainResource)
|
| - request.setHTTPAccept(defaultAcceptHeader);
|
| -
|
| // Default to sending an empty Origin header if one hasn't been set yet.
|
| FrameLoader::addHTTPOriginIfNeeded(request, nullAtom);
|
| }
|
|
|