Explorar o código

User-Agent update cpp-httplib/0.10.2 (#1181)

Rockybilly %!s(int64=4) %!d(string=hai) anos
pai
achega
7f43f0f3ff
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      httplib.h

+ 1 - 1
httplib.h

@@ -6159,7 +6159,7 @@ inline bool ClientImpl::write_request(Stream &strm, Request &req,
   if (!req.has_header("Accept")) { req.headers.emplace("Accept", "*/*"); }
 
   if (!req.has_header("User-Agent")) {
-    req.headers.emplace("User-Agent", "cpp-httplib/0.10.1");
+    req.headers.emplace("User-Agent", "cpp-httplib/0.10.2");
   }
 
   if (req.body.empty()) {