mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: BeyondHD using improperly cased Content-Type header
This commit is contained in:
@@ -111,7 +111,7 @@ namespace NzbDrone.Core.Indexers.Definitions
|
|||||||
|
|
||||||
var request = new HttpRequest(searchUrl, HttpAccept.Json);
|
var request = new HttpRequest(searchUrl, HttpAccept.Json);
|
||||||
|
|
||||||
request.Headers.Add("Content-type", "application/json");
|
request.Headers.ContentType = "application/json";
|
||||||
request.Method = HttpMethod.Post;
|
request.Method = HttpMethod.Post;
|
||||||
request.SetContent(body.ToJson());
|
request.SetContent(body.ToJson());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user