mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
Release v0.9.9
This commit is contained in:
1 parent
3051152103
commit
ddff782133
1 file changed
+1
-1
@@ -5978,7 +5978,7 @@ inline bool ClientImpl::write_request(Stream &strm, Request &req,
|
||||
if (!req.has_header("Accept")) { req.headers.emplace("Accept", "*/*"); }
|
||||
|
||||
if (!req.has_header("User-Agent")) {
|
||||
req.headers.emplace("User-Agent", "cpp-httplib/0.9.8");
|
||||
req.headers.emplace("User-Agent", "cpp-httplib/0.9.9");
|
||||
}
|
||||
|
||||
if (req.body.empty()) {
|
||||
|
||||
Reference in new issue
Block a user