diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-07-23 15:06:11 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2018-08-03 22:21:46 +0000 |
commit | a5bdc6236ad52586579a9a3da6a059835ed60761 (patch) | |
tree | 0990effe331cea168cec1c33593af2f640c880a6 /src/core/net/url_request_custom_job_proxy.h | |
parent | 14a8ac1534bc4314cf6c89aceaaa382f42314dac (diff) |
Add HTTP request headers to custom URL schemes
Makes it possible to read extra headers added to the request.
Change-Id: I4af0ba8a5b28488b8f12a2cff29807575c24f026
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..1f4494945 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, QMap<QByteArray, QByteArray> headers); void readyRead(); // IO thread owned: |