mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 09:43:51 +00:00
Fix coding style
This commit is contained in:
parent
dedcc43216
commit
c5264cea9c
@ -2066,8 +2066,7 @@ inline void Client::write_request(Stream& strm, Request& req)
|
|||||||
path.c_str());
|
path.c_str());
|
||||||
|
|
||||||
// Headers
|
// Headers
|
||||||
if (!req.has_header("Host"))
|
if (!req.has_header("Host")) {
|
||||||
{
|
|
||||||
if (is_ssl()) {
|
if (is_ssl()) {
|
||||||
if (port_ == 443) {
|
if (port_ == 443) {
|
||||||
req.set_header("Host", host_.c_str());
|
req.set_header("Host", host_.c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user