Use native HttpMethod

This commit is contained in:
Qstick
2022-01-03 00:28:20 -06:00
parent e04133d34a
commit 76b6b0dead
56 changed files with 198 additions and 147 deletions
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Net.Http;
using System.Xml;
using System.Xml.Linq;
using NLog;
@@ -50,7 +51,7 @@ namespace NzbDrone.Core.Indexers.Newznab
var request = new HttpRequest(url, HttpAccept.Rss);
request.AllowAutoRedirect = true;
request.Method = HttpMethod.GET;
request.Method = HttpMethod.Get;
HttpResponse response;