aboutsummaryrefslogtreecommitdiff
path: root/src/common/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/net')
-rw-r--r--src/common/net/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/net/net.cpp b/src/common/net/net.cpp
index a4f681cd33..5c45e13701 100644
--- a/src/common/net/net.cpp
+++ b/src/common/net/net.cpp
@@ -241,7 +241,7 @@ std::optional<std::string> MakeRequest(const std::string& url, const std::string
response.status);
return {};
}
- if (!response.headers.contains("content-type")) {
+ if (!response.has_header("content-type")) {
LOG_ERROR(Common, "GET to {}{} returned no content", url, path);
return {};
}