1
0
Эх сурвалжийг харах

Updated version in the User Agent string

yhirose 5 жил өмнө
parent
commit
f4c5d94d74
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

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