User-Agent update cpp-httplib/0.10.2 (#1181)

This commit is contained in:
Rockybilly 2022-01-28 20:27:27 +03:00 committed by GitHub
parent 87e03dd1ce
commit 7f43f0f3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()) {