-
|
Describe the bug HTTPX fails silently if -random-agent is the first argument Environment details I'm using the download from here; Error details This command works echo 'google.com' | httpx -H 'User-Agent: asdf' -include-response -json -verbose -debug -random-agent falseOutput: This fails silently with no hint as to why echo 'google.com' | httpx -random-agent false -H 'User-Agent: asdf' -include-response -json -verbose -debugOutput: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
@njbooher I guess the right command to use would be but I can see |
Beta Was this translation helpful? Give feedback.
-
|
Ok, I'll go ahead and remove |
Beta Was this translation helpful? Give feedback.
@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 customUser-Agentusing-Hflag, the random UA will be disabled internally, so using-random-agent falseis not expected.but I can see
-random-agentmight cause confusion and as it's enabled as default, we will be removing this CLI flag in future updates.