diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-10-15 20:22:42 +0200 |
---|---|---|
committer | tobrun <tobrun.van.nuland@gmail.com> | 2019-10-15 20:24:25 +0200 |
commit | 92998b4c08905520754f7136d89211af18662ad5 (patch) | |
tree | ba32918b43efd0ae24bfc1c0fb86d7f0ac33a383 | |
parent | e829d1ae6f01ff3c336cd429dacd98aeb3b7162a (diff) | |
download | qtlocation-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.cpp | 3 |
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) { |