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

Custom host header #42

Closed
AlessandroZ opened this issue Jul 21, 2020 · 2 comments · Fixed by #45
Closed

Custom host header #42

AlessandroZ opened this issue Jul 21, 2020 · 2 comments · Fixed by #45
Labels
Status: In Progress This issue is being worked on, and has someone assigned. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@AlessandroZ
Copy link

Hi,

It could be awesome if I could overwrite the host header like that:

echo "http://example.com" | httpx -http-proxy http://127.0.0.1:8080 -H "Host: test"

Other header are well rewritten (User-Agent, etc.), except this one.
I know you have a vhost option but it would be much easier to use if I could check it like that.

Love your tool, thanks a lot.

@Mzack9999 Mzack9999 linked a pull request Jul 22, 2020 that will close this issue
@ehsandeep ehsandeep added Status: In Progress This issue is being worked on, and has someone assigned. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. labels Jul 23, 2020
@ehsandeep
Copy link
Member

This is fixed and now supports custom HOST headers as well. @AlessandroZ

echo http://example.com | ./httpx -silent -http-proxy http://127.0.0.1:8080 -H "Host: test"

image

@AlessandroZ
Copy link
Author

Cool, thanks a lot. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: In Progress This issue is being worked on, and has someone assigned. Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants