parent
c270c13baa
commit
21837ac132
3 changed files with 9 additions and 8 deletions
|
|
@ -36,7 +36,7 @@ class UnixHTTPConnection(httplib.HTTPConnection, object):
|
|||
def connect(self):
|
||||
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
|
||||
sock.settimeout(self.timeout)
|
||||
sock.connect(self.base_url.replace("unix:/", ""))
|
||||
sock.connect(self.base_url.replace("http+unix:/", ""))
|
||||
self.sock = sock
|
||||
|
||||
def _extract_path(self, url):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue