Fixed: Deluge 1.3.14 API support due to changed json-rpc checks.

fixes #1738
pull/6/head
Taloth Saldono 8 years ago
parent 081c5fc332
commit bbf2134fe1

@ -9,7 +9,7 @@ namespace NzbDrone.Common.Http
public class JsonRpcRequestBuilder : HttpRequestBuilder public class JsonRpcRequestBuilder : HttpRequestBuilder
{ {
public static HttpAccept JsonRpcHttpAccept = new HttpAccept("application/json-rpc, application/json"); public static HttpAccept JsonRpcHttpAccept = new HttpAccept("application/json-rpc, application/json");
public static string JsonRpcContentType = "application/json-rpc"; public static string JsonRpcContentType = "application/json";
public string JsonMethod { get; private set; } public string JsonMethod { get; private set; }
public List<object> JsonParameters { get; private set; } public List<object> JsonParameters { get; private set; }

Loading…
Cancel
Save