diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-21 10:23:06 +0000 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-01-30 15:55:00 +0000 |
commit | 94d2cba36b8a1c3e02ca2abf16b11963fd1801d5 (patch) | |
tree | fda30bf876ed68e1eefa0c5560835c5d945e6f85 /src/core/net/url_request_custom_job_proxy.h | |
parent | ec4a94c5d872824d20a70bd45e6c53ab72dd2194 (diff) |
Add HTTP request headers to custom URL schemes (reland)
Makes it possible to read extra headers added to the request.
This reverts commit 9cbe64c54dee8451794e29f4357ccfac6d883e6b.
Task-number: QTBUG-69844
Change-Id: I5c5e0c06655d5f764227fdc97fdb0c2a189f532d
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core/net/url_request_custom_job_proxy.h')
-rw-r--r-- | src/core/net/url_request_custom_job_proxy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/net/url_request_custom_job_proxy.h b/src/core/net/url_request_custom_job_proxy.h index 3986fe119..aa55db07c 100644 --- a/src/core/net/url_request_custom_job_proxy.h +++ b/src/core/net/url_request_custom_job_proxy.h @@ -72,7 +72,7 @@ public: void abort(); void fail(int error); void release(); - void initialize(GURL url, std::string method, base::Optional<url::Origin> initiatorOrigin); + void initialize(GURL url, std::string method, base::Optional<url::Origin> initiatorOrigin, std::map<std::string, std::string> headers); void readyRead(); // IO thread owned: |