From 2aafdbc1b84192d9a51ff7f5f9d9830e0951bb2a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 13 Jan 2016 16:47:36 -0800 Subject: [core] Add an explicit "not modified" indicator to Response --- include/mbgl/storage/response.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/mbgl/storage/response.hpp') 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 data; -- cgit v1.2.1