mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Log where the torrent request is being redirected to
This commit is contained in:
@@ -102,6 +102,8 @@ namespace NzbDrone.Core.Download
|
|||||||
{
|
{
|
||||||
var locationHeader = (string)response.Headers.GetValueOrDefault("Location", null);
|
var locationHeader = (string)response.Headers.GetValueOrDefault("Location", null);
|
||||||
|
|
||||||
|
_logger.Trace("Torrent request is being redirected to: {0}", locationHeader);
|
||||||
|
|
||||||
if (locationHeader != null)
|
if (locationHeader != null)
|
||||||
{
|
{
|
||||||
if (locationHeader.StartsWith("magnet:"))
|
if (locationHeader.StartsWith("magnet:"))
|
||||||
|
Reference in New Issue
Block a user