You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File <omitted>\fix-unix-socket.py", line 4, in <module>
response = http.request("GET", "http://docker/info")
File <omitted>\httpcore\_sync\interfaces.py", line 43, in request
response = self.handle_request(request)
File <omitted>\httpcore\_sync\connection_pool.py", line 252, in handle_request
raise exc
File <omitted>\httpcore\_sync\connection_pool.py", line 236, in handle_request
response = connection.handle_request(request)
File <omitted>\httpcore\_sync\connection.py", line 86, in handle_request
raise exc
File <omitted>\httpcore\_sync\connection.py", line 63, in handle_request
stream = self._connect(request)
File <omitted>\httpcore\_sync\connection.py", line 121, in _connect
stream = self._network_backend.connect_unix_socket(
File <omitted>\httpcore\backends\sync.py", line 106, in connect_unix_socket
sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM)
AttributeError: module 'socket' has no attribute 'AF_UNIX'
Running this code on a Windows machine:
Results in the following:
Do we want to handle it here?
httpcore/httpcore/backends/sync.py
Lines 98 to 109 in faa166c
The text was updated successfully, but these errors were encountered: