mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Release v0.9.10
This commit is contained in:
parent
743ecbd365
commit
9639578c2a
@ -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…
x
Reference in New Issue
Block a user