Closed njbooher closed 3 years ago
@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.
Ok, I'll go ahead and remove -random-agent
from my scripts. Thanks!
Describe the bug
HTTPX fails silently if -random-agent is the first argument
Environment details
I'm using the download from here; https://github.com/projectdiscovery/httpx/releases/download/v1.1.3/httpx_1.1.3_linux_amd64.zip
Error details
This command works
Output:
This fails silently with no hint as to why
Output: