httpx icon indicating copy to clipboard operation
httpx copied to clipboard

`httpx -probe -sr` creates files for [FAILED]

Open ola456 opened this issue 4 months ago • 0 comments

httpx version:

v1.6.3 and later

Current Behavior:

httpx -probe -sr creates "empty" files for failed requests. "empty" as in they only contain the requested url

Expected Behavior:

No files should be created for failed requests.

Steps To Reproduce:

  1. echo '168-this-does-not-exist.com' | httpx -sr -probe
  2. See that an "empty" file is created at output/response/168-this-does-not-exist.com/[...].txt

Anything else:

https://discord.com/channels/695645237418131507/1293593977525633034

Image

Image

ola456 avatar Oct 15 '24 20:10 ola456