V0.5.0
This commit is contained in:
parent
ed6d949f42
commit
a444b612af
@ -3693,7 +3693,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.2");
|
||||
headers.emplace("User-Agent", "cpp-httplib/0.5");
|
||||
}
|
||||
|
||||
if (req.body.empty()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user