diff options
Diffstat (limited to 'http/http_connection.hpp')
-rw-r--r-- | http/http_connection.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/http_connection.hpp b/http/http_connection.hpp index d5d02e545a..47f9432bde 100644 --- a/http/http_connection.hpp +++ b/http/http_connection.hpp @@ -342,7 +342,7 @@ class Connection : res.setHashAndHandleNotModified(); - if (res.body().empty() && !res.jsonValue.empty()) + if (res.body().empty() && !res.jsonValue.is_null()) { using http_helpers::ContentType; std::array<ContentType, 3> allowed{ |