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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/storage/response.hpp b/include/mbgl/storage/response.hpp
index 852110cb2a..532a91da97 100644
--- a/include/mbgl/storage/response.hpp
+++ b/include/mbgl/storage/response.hpp
@@ -24,6 +24,9 @@ public:
// Stale responses are fetched from cache and are expired.
bool stale = false;
+ // This is set to true for 304 Not Modified responses.
+ bool notModified = false;
+
// The actual data of the response. This is guaranteed to never be empty.
std::shared_ptr<const std::string> data;