Browse Source

Updated version in the User Agent string

yhirose 5 years ago
parent
commit
42f9f9107f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -4591,7 +4591,7 @@ inline bool Client::write_request(Stream &strm, const Request &req,
   if (!req.has_header("Accept")) { headers.emplace("Accept", "*/*"); }
   if (!req.has_header("Accept")) { headers.emplace("Accept", "*/*"); }
 
 
   if (!req.has_header("User-Agent")) {
   if (!req.has_header("User-Agent")) {
-    headers.emplace("User-Agent", "cpp-httplib/0.6");
+    headers.emplace("User-Agent", "cpp-httplib/0.7");
   }
   }
 
 
   if (req.body.empty()) {
   if (req.body.empty()) {