Minor patch related to #6029

This commit is contained in:
Miroslav Stampar 2026-03-11 13:09:38 +01:00
parent 56f02e5d5b
commit 3fe094a4c3
3 changed files with 4 additions and 4 deletions

View file

@ -86,7 +86,7 @@ class HTTPSConnection(_http_client.HTTPSConnection):
pass
hostname = self.host
if self.host:
if conf.host:
hostname = conf.host
else:
for header, value in conf.httpHeaders: