yhirose hace 6 años
padre
commit
a444b612af
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -3693,7 +3693,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.2");
+    headers.emplace("User-Agent", "cpp-httplib/0.5");
   }
 
   if (req.body.empty()) {