mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
User-Agent update cpp-httplib/0.10.2 (#1181)
This commit is contained in:
parent
87e03dd1ce
commit
7f43f0f3ff
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user