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
Hi there! I followed the unix socket example in the README and referenced in #80 but I am getting the following error:
http: no Host in request URL
Any ideas on a workaround?
The text was updated successfully, but these errors were encountered:
Interested in this as well. Seeing this with go 1.18
Sorry, something went wrong.
You can use a throwaway hostname it seems:
// Supply transport type (http) and fake hostname along with the path you want client.R().Get("http://fakehost/index.html")
Oh wow. Didn't even think to check that workaround. Does it actually work?
test: add test example for unix socket client and update readme #589
412e9e6
@sounddroid I believe it suppose to be http://localhost/, will update the readme and also added a sample test too.
http://localhost/
test: add test example for unix socket client and update readme #589 (#…
4801bed
…703)
jeevatkm
Successfully merging a pull request may close this issue.
Hi there! I followed the unix socket example in the README and referenced in #80 but I am getting the following error:
Any ideas on a workaround?
The text was updated successfully, but these errors were encountered: