Skip to content

Commit c823384

Browse files
authored
Update HttpClient.cpp
1 parent e0b4ebb commit c823384

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpClient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ int HttpClient::sendInitialHeaders(const char* aURLPath, const char* aHttpMethod
161161
{
162162
iClient->print("Host: ");
163163
iClient->print(iServerName);
164-
if (iServerPort != kHttpPort)
164+
if (iServerPort != kHttpPort && iServerPort != kHttpsPort)
165165
{
166166
iClient->print(":");
167167
iClient->print(iServerPort);

0 commit comments

Comments
 (0)