Skip to content

Commit

Permalink
Updated version in the User Agent string
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed May 14, 2020
1 parent 63a96ae commit f4c5d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit f4c5d94

Please sign in to comment.