We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My code is similar to:
where self.url is /run/foo.sock, and url is set to /run/foo.sock/events
self.url
/run/foo.sock
url
/run/foo.sock/events
response = yield from aiohttp.request( method, url, connector=aiohttp.UnixSocketConnector(self.url), headers=headers, data=data )
Which raises:
File "/home/tag/dev/local/aiohttp/aiohttp/client.py", line 97, in request loop=loop, expect100=expect100) File "/home/tag/dev/local/aiohttp/aiohttp/client.py", line 177, in __init__ self.update_host(url) File "/home/tag/dev/local/aiohttp/aiohttp/client.py", line 203, in update_host raise ValueError('Host could not be detected.') ValueError: Host could not be detected.
From what I can tell from the test code, this should work, but better docs would be great, so that other people don't hit similar issues :) 👍
Thanks!
The text was updated successfully, but these errors were encountered:
added basic docs
Sorry, something went wrong.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that new issue.
No branches or pull requests
My code is similar to:
where
self.url
is/run/foo.sock
, andurl
is set to/run/foo.sock/events
Which raises:
From what I can tell from the test code, this should work, but better docs would be great, so that other people don't hit similar issues :) 👍
Thanks!
The text was updated successfully, but these errors were encountered: