Skip to content

Silent failure if -random-agent is the first argument #422

Answered by ehsandeep
njbooher asked this question in Q&A
Discussion options

You must be logged in to vote

@njbooher I guess the right command to use would be echo 'google.com' | httpx -H 'User-Agent: asdf' -include-response -json, if you are setting custom User-Agent using -H flag, the random UA will be disabled internally, so using -random-agent false is not expected.

but I can see -random-agent might cause confusion and as it's enabled as default, we will be removing this CLI flag in future updates.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ehsandeep
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #421 on October 17, 2021 16:29.