Browse Source

fix: update user agent (#1218)

Andrea Pappacoda 3 years ago
parent
commit
bf0760fde4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -6171,7 +6171,7 @@ inline bool ClientImpl::write_request(Stream &strm, Request &req,
 
 #ifndef CPPHTTPLIB_NO_DEFAULT_USER_AGENT
   if (!req.has_header("User-Agent")) {
-    req.headers.emplace("User-Agent", "cpp-httplib/0.10.3");
+    req.headers.emplace("User-Agent", "cpp-httplib/0.10.4");
   }
 #endif