forked from torrust/torrust-index
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add a custom header with infohash to the download endpoints
Endpoint where you can download a torrent file have now a custom header containing the torrent infohash: The name of the header is: "x-torrust-torrent-infohash" It is added becuase in the frontend we need the infohash in a cypress test and this way we do not need to parse the downloaded torrent which is faster and simpler.
- Loading branch information
1 parent
e2a0ed4
commit 414c6c1
Showing
2 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters