From 94d2cba36b8a1c3e02ca2abf16b11963fd1801d5 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Tue, 21 Aug 2018 10:23:06 +0000 Subject: 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 --- src/core/net/url_request_custom_job_proxy.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/net/url_request_custom_job_proxy.h') 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 initiatorOrigin); + void initialize(GURL url, std::string method, base::Optional initiatorOrigin, std::map headers); void readyRead(); // IO thread owned: -- cgit v1.2.3