summaryrefslogtreecommitdiff
path: root/include/mbgl/storage/response.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/storage/response.hpp')
-rw-r--r--include/mbgl/storage/response.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp
index 278fce1dfe..162a272948 100644
--- a/include/mbgl/storage/response.hpp
+++ b/include/mbgl/storage/response.hpp
@@ -20,6 +20,10 @@ public:
// When this object is empty, the response was successful.
std::unique_ptr<const Error> error;
+ // This is set to true for 204 Not Modified responses, and, for backward compatibility,
+ // for 404 Not Found responses for tiles.
+ bool noContent = false;
+
// This is set to true for 304 Not Modified responses.
bool notModified = false;