diff options
author | Michal Klocek <michal.klocek@qt.io> | 2018-08-09 11:18:11 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2018-08-09 09:39:14 +0000 |
commit | 9cbe64c54dee8451794e29f4357ccfac6d883e6b (patch) | |
tree | a9eb363b39a3c9bcaa160aa89cc354deb543f610 /src/core/net/url_request_custom_job_delegate.cpp | |
parent | 04355f4d6f311adebfc354b094a5f79c6327e86f (diff) |
Revert "Add HTTP request headers to custom URL schemes"
This reverts commit a5bdc6236ad52586579a9a3da6a059835ed60761
and 04355f4d6f311adebfc354b094a5f79c6327e86f.
CI still crashes on tst_QWebEngineProfile::urlSchemeHandler tests,
issue is not reproducible locally and it will take time to investigate.
Task-number: QTBUG-69844
Change-Id: I7ddb6a32383400d553fe692c24effb6dfb7b6102
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/core/net/url_request_custom_job_delegate.cpp')
-rw-r--r-- | src/core/net/url_request_custom_job_delegate.cpp | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/core/net/url_request_custom_job_delegate.cpp b/src/core/net/url_request_custom_job_delegate.cpp index 4ed6a2484..338bd7137 100644 --- a/src/core/net/url_request_custom_job_delegate.cpp +++ b/src/core/net/url_request_custom_job_delegate.cpp @@ -51,13 +51,11 @@ namespace QtWebEngineCore { URLRequestCustomJobDelegate::URLRequestCustomJobDelegate(URLRequestCustomJobProxy *proxy, const QUrl &url, const QByteArray &method, - const QUrl &initiatorOrigin, - const QMap<QByteArray, QByteArray> &headers) + const QUrl &initiatorOrigin) : m_proxy(proxy), m_request(url), m_method(method), - m_initiatorOrigin(initiatorOrigin), - m_requestHeaders(headers) + m_initiatorOrigin(initiatorOrigin) { } @@ -80,11 +78,6 @@ QUrl URLRequestCustomJobDelegate::initiator() const return m_initiatorOrigin; } -const QMap<QByteArray, QByteArray> &URLRequestCustomJobDelegate::requestHeaders() const -{ - return m_requestHeaders; -} - void URLRequestCustomJobDelegate::reply(const QByteArray &contentType, QIODevice *device) { if (device) |