Deluge 1.3.14 API support due to changed json-rpc checks

This commit is contained in:
Devin Buhl 2017-03-07 12:31:56 -05:00 committed by GitHub
commit 73f0916fa0

View file

@ -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; }