summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-10-15 20:22:42 +0200
committertobrun <tobrun.van.nuland@gmail.com>2019-10-15 20:24:25 +0200
commit92998b4c08905520754f7136d89211af18662ad5 (patch)
treeba32918b43efd0ae24bfc1c0fb86d7f0ac33a383
parente829d1ae6f01ff3c336cd429dacd98aeb3b7162a (diff)
downloadqtlocation-mapboxgl-upstream/tvn-print-url.tar.gz
[offline] debug resource urlsupstream/tvn-print-url
-rw-r--r--platform/default/src/mbgl/storage/http_file_source.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/default/src/mbgl/storage/http_file_source.cpp b/platform/default/src/mbgl/storage/http_file_source.cpp
index b0390c58fc..d820c78d61 100644
--- a/platform/default/src/mbgl/storage/http_file_source.cpp
+++ b/platform/default/src/mbgl/storage/http_file_source.cpp
@@ -230,6 +230,9 @@ HTTPRequest::HTTPRequest(HTTPFileSource::Impl* context_, Resource resource_, Fil
callback(std::move(callback_)),
handle(context->getHandle()) {
+ // print url for debug purposes
+ Log::Warning(Event::General, resource.url);
+
// If there's already a response, set the correct etags/modified headers to make sure we are
// getting a 304 response if possible. This avoids redownloading unchanged data.
if (resource.priorEtag) {