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

Feature Request: Custom Resolver #32

Open
hdon opened this issue Feb 5, 2017 · 0 comments
Open

Feature Request: Custom Resolver #32

hdon opened this issue Feb 5, 2017 · 0 comments

Comments

@hdon
Copy link

hdon commented Feb 5, 2017

So I'm trying to test some HTTP servers without setting up DNS to perform the task.

I tried specifying the Host header and passing a URL like "http://1.2.3.4/" using just the server's IP address.

I'm running into simple redirects (e.g. adding "www." to hostname.)

This sort of redirect loops infinitely, I believe because the "Host" header is overwritten for every request.

If there were an option for a custom resolver function, that would fit my use-case very nicely.

Thanks!

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

1 participant