Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perform redirection completion when final link requires it #296

Open
sarroutbi opened this issue Nov 25, 2024 · 0 comments
Open

Perform redirection completion when final link requires it #296

sarroutbi opened this issue Nov 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sarroutbi
Copy link
Owner

It seems some 302 responses are returned when parsing some html files and getting links to RPMs. koji-retriever should perform the redirection automatically, similarly to how curl does with -L option:

       -L, --location
              (HTTP) If the server reports that the requested page has moved to a different location (indicated with a Location: header and a 3XX response code), this option makes curl redo the  request  on
              the new place. If used together with -i, --include or -I, --head, headers from all requested pages are shown.
@sarroutbi sarroutbi added the bug Something isn't working label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant