diff --git a/lib/request/connect.py b/lib/request/connect.py
index 31f81315f..51a187bbc 100644
--- a/lib/request/connect.py
+++ b/lib/request/connect.py
@@ -332,7 +332,7 @@ class Connect(object):
             if HTTP_HEADER.ACCEPT not in headers:
                 headers[HTTP_HEADER.ACCEPT] = HTTP_ACCEPT_HEADER_VALUE
 
-            if HTTP_HEADER.HOST not in headers:
+            if HTTP_HEADER.HOST not in headers or not target:
                 headers[HTTP_HEADER.HOST] = getHostHeader(url)
 
             if HTTP_HEADER.ACCEPT_ENCODING not in headers: