Updated the user agent string

This commit is contained in:
yhirose 2021-06-14 08:42:43 -04:00
parent b8dec12f15
commit 676f1b5a26

View file

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