Skip to content

Not working #2124

Closed
Closed

Description

@meetgyn

httpx version:

Current httpx version v1.6.10 (latest)

Current Behavior:

Image

Expected Behavior:

When trying to execute the following command below
echo truck.txt| awk '{print $1}' | httpx --status-code --title
Nothing happens, and falls straight to the versa banner> this version v1.6.10 does not work

Steps To Reproduce:

Anything else:

Activity

  1. added
    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
    on Mar 10, 2025
  2. Mzack9999 commented on Mar 11, 2025

    @Mzack9999
    Member

    Probably the error in the command is that echo truck.txt only prints the filename "truck.txt", not its contents. This causes httpx to treat "truck.txt" as a URL, which is incorrect.

    To scan URLs inside truck.txt, use:

    $ httpx --status-code --title -l truck.txt

    or

    $ cat truck.txt | httpx --status-code --title

    This ensures httpx reads and processes the actual URLs from the file.

  3. locked and limited conversation to collaborators on Mar 12, 2025
  4. converted this issue into a discussion #2125 on Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions