Skip to content

Return 404 when torrent is not found#222

Merged
josecelano merged 1 commit intotorrust:developfrom
josecelano:issue-215-return-404-for-torrent-not-found
Jun 27, 2023
Merged

Return 404 when torrent is not found#222
josecelano merged 1 commit intotorrust:developfrom
josecelano:issue-215-return-404-for-torrent-not-found

Conversation

@josecelano
Copy link
Copy Markdown
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