summaryrefslogtreecommitdiff
path: root/platform/default/http_file_source.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default/http_file_source.cpp')
-rw-r--r--platform/default/http_file_source.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/http_file_source.cpp b/platform/default/http_file_source.cpp
index a9c442c2de..1a0ae577b8 100644
--- a/platform/default/http_file_source.cpp
+++ b/platform/default/http_file_source.cpp
@@ -371,9 +371,9 @@ void HTTPRequest::handleResult(CURLcode code) {
if (responseCode == 200) {
if (data) {
- response->data = std::move(data);
+ response->data = Blob{ std::move(data), false };
} else {
- response->data = std::make_shared<std::string>();
+ response->data = Blob{ "", false };
}
} else if (responseCode == 204 || (responseCode == 404 && resource.kind == Resource::Kind::Tile)) {
response->noContent = true;