From 7eb1a91c4e5134ecfbfb91b61a6622be40478af5 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 3 Feb 2016 17:35:06 -0800 Subject: [all] Do not set Response data for 404s For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent. --- include/mbgl/storage/response.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mbgl/storage') diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp index a44902e1f9..278fce1dfe 100644 --- a/include/mbgl/storage/response.hpp +++ b/include/mbgl/storage/response.hpp @@ -23,7 +23,7 @@ public: // This is set to true for 304 Not Modified responses. bool notModified = false; - // The actual data of the response. This is null if notModified is true. + // The actual data of the response. Present only for non-error, non-notModified responses. std::shared_ptr data; optional modified; -- cgit v1.2.1