mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 17:28:29 +00:00
Release v0.9.10
This commit is contained in:
parent
743ecbd365
commit
9639578c2a
1 changed files with 1 additions and 1 deletions
|
@ -5982,7 +5982,7 @@ inline bool ClientImpl::write_request(Stream &strm, Request &req,
|
||||||
if (!req.has_header("Accept")) { req.headers.emplace("Accept", "*/*"); }
|
if (!req.has_header("Accept")) { req.headers.emplace("Accept", "*/*"); }
|
||||||
|
|
||||||
if (!req.has_header("User-Agent")) {
|
if (!req.has_header("User-Agent")) {
|
||||||
req.headers.emplace("User-Agent", "cpp-httplib/0.9.9");
|
req.headers.emplace("User-Agent", "cpp-httplib/0.9.10");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (req.body.empty()) {
|
if (req.body.empty()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue