Skip to content
New issue

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

--resolvers is great, but also support --resolve to behave like curl #610

Open
jrwren opened this issue Oct 13, 2022 · 1 comment
Open

Comments

@jrwren
Copy link

jrwren commented Oct 13, 2022

Proposal

Add a -resolve flag which works like curl's --resolve

Background

When an http server is behind a load balancer, sometimes it is nice to bypass the load balancer, but the request should otherwise be the same. I can use -header 'Host: blah' and target a private IP address, but it would be nice to support --resolve like curl.

Workarounds

-header 'Host: blah' and specify IP address when requesting a URL.

@DaazKu
Copy link

DaazKu commented Aug 18, 2023

Any way to replicate that right now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants