Skip to content

-follow-redirects should not print location #2047

Closed

Description

@nadirzb

httpx version: v1.6.9

Current Behavior:

Option -fr or -follow-redirects should not print location, -location already does it.

Expected Behavior:

Option -fr or -follow-redirects should only follow redirect, not print anything.

Steps To Reproduce:

echo "redirecteddomain.com" | httpx -fr

Anything else:

Activity

  1. added
    Type: Bug
    on Dec 20, 2024
  2. ehsandeep commented on May 9, 2025

    @ehsandeep
    Member
    $ echo https://resources.hackerone.com | httpx -silent -sc -fr
    https://resources.hackerone.com [301,301,404] [http://resources.hackerone.com/read/account_titles/2763037]
    

    Currently redirected URL is printed when -fr option is used, expected behavior would be print redirected location only when -location option is used.

  3. added theissue type on May 9, 2025
  4. added
    Status: Completed
    and removed
    Type: Bug
    on May 9, 2025
  5. github-actions commented on Aug 31, 2025

    @github-actions

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

  6. github-actions commented on Sep 14, 2025

    @github-actions

    This issue has been automatically closed due to inactivity. If you think this is a mistake or would like to continue the discussion, please comment or feel free to reopen it.

  7. added
    Status: Abandoned
    on Sep 14, 2025
  8. ehsandeep commented on Sep 14, 2025

    @ehsandeep
    Member

    this is fixed!

  9. removed
    Status: Abandoned
    on Sep 14, 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

    Status: Completed

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions