fix: update user agent (#1218)

pull/1221/head
Andrea Pappacoda 2 years ago committed by GitHub
parent bb8e45383e
commit bf0760fde4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save