mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
Updated version in the User Agent string
This commit is contained in:
parent
63a96aeb20
commit
f4c5d94d74
1 changed files with 1 additions and 1 deletions
|
@ -4079,7 +4079,7 @@ inline bool Client::write_request(Stream &strm, const Request &req,
|
|||
if (!req.has_header("Accept")) { headers.emplace("Accept", "*/*"); }
|
||||
|
||||
if (!req.has_header("User-Agent")) {
|
||||
headers.emplace("User-Agent", "cpp-httplib/0.5");
|
||||
headers.emplace("User-Agent", "cpp-httplib/0.6");
|
||||
}
|
||||
|
||||
if (req.body.empty()) {
|
||||
|
|
Loading…
Reference in a new issue