Open sindresorhus opened 2 years ago
Haha, I'll pick up this one!
So when the setting is turned to false
, the following won't work?
got('unix:/var/run/docker.sock:/containers/json');
@TommyDew42 Correct. Also the http:
version, per the docs.
Is there anything to work with this? I guess, the issue is resolved, the maintainers should mark as closed.
https://github.com/sindresorhus/got/blob/main/documentation/tips.md#unix-domain-sockets
It's a niche feature and have heard that some teams have their own custom code to prevent it, so it makes sense to have the ability to turn it off in Got.
I suggest:
false
by default.true
by default.Open questions: