Skip to content

[Bug] -fc parameter isn't filtering responses #929

Closed

Description

Run: httpx -l in.txt -path dir.txt -sc -fc 200,201,300,301,401,500,501,502,503 -o out.txt

The output includes other status codes not listed in the -fc parameter (e.g. 400).

Activity

  1. ghost added
    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
    on Jan 8, 2023
  2. ehsandeep commented on Jan 9, 2023

    @ehsandeep
    Member

    @reconnization looks like you are using the opposite flag. If you are interested in displaying the given status code, you should use, -mc instead of -fc

  3. removed
    Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.
    on Jan 9, 2023
  4. locked and limited conversation to collaborators on Jan 9, 2023
  5. converted this issue into a discussion #932 on Jan 9, 2023
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions