User-Agent update cpp-httplib/0.10.2 (#1181)

pull/1183/head
Rockybilly 7 months ago committed by GitHub
parent 87e03dd1ce
commit 7f43f0f3ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      httplib.h

@ -6159,7 +6159,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.10.1");
req.headers.emplace("User-Agent", "cpp-httplib/0.10.2");
}
if (req.body.empty()) {

Loading…
Cancel
Save