mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
fix: update user agent (#1218)
This commit is contained in:
parent
bb8e45383e
commit
bf0760fde4
@ -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…
x
Reference in New Issue
Block a user