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

Return 404 when torrent is not found #222

Merged
merged 1 commit into from
Jun 27, 2023
Merged

Return 404 when torrent is not found #222

merged 1 commit into from
Jun 27, 2023

Conversation

josecelano
Copy link
Member

@josecelano josecelano commented Jun 27, 2023

The endpoint to get the torrent info details returns a 404 HTTP status code instead of a 400 when the provided infohash does not exist in the database.

The endpoint to download the torrent file is also changed.

@josecelano josecelano linked an issue Jun 27, 2023 that may be closed by this pull request
The endpoint to get the torrent info details returns a 404 HTTP status
code instead of a 400, when the provided infohash does not exist in the
database.

The endpoint to download a torrent file is also changed.
@josecelano josecelano marked this pull request as ready for review June 27, 2023 08:16
@josecelano josecelano merged commit c27a5a9 into torrust:develop Jun 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Return a 404 status code when a torrent is not found
1 participant