fix: update user agent (#1218)

This commit is contained in:
Andrea Pappacoda 2022-03-18 23:12:51 +01:00 committed by GitHub
parent bb8e45383e
commit bf0760fde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -6171,7 +6171,7 @@ inline bool ClientImpl::write_request(Stream &strm, Request &req,
#ifndef CPPHTTPLIB_NO_DEFAULT_USER_AGENT
if (!req.has_header("User-Agent")) {
req.headers.emplace("User-Agent", "cpp-httplib/0.10.3");
req.headers.emplace("User-Agent", "cpp-httplib/0.10.4");
}
#endif