httpx
httpx copied to clipboard
silent and debug-[req|resp] flags should be incompatible
httpx version:
Current dev HEAD.
Current Behavior:
httpx -silent and -debug-[req|resp] flags can be used at the same time. Doing it simply doesn't output the debug information.
Expected Behavior:
Since these flags are incompatible, httpx should report a descriptive error and abort the execution.
Steps To Reproduce:
Same applies to the -debug flag.
:~/research/projectdiscovery/httpx ‹dev›$ echo "https://www.google.com/.well-known/security.txt" | ./httpx -silent -debug-req
https://www.google.com/.well-known/security.txt
:~/research/projectdiscovery/httpx ‹dev›$ echo "https://www.google.com/.well-known/security.txt" | ./httpx -silent -debug-resp
https://www.google.com/.well-known/security.txt
Anything else:
N/A