mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-30 11:38:32 -07:00
Product name change
This commit is contained in:
parent
83c37d926e
commit
a1ec30c641
45 changed files with 256 additions and 234 deletions
|
@ -420,8 +420,8 @@ namespace PlexRequests.Api
|
|||
|
||||
private void AddHeaders(ref RestRequest request, bool json)
|
||||
{
|
||||
request.AddHeader("X-Plex-Client-Identifier", $"PlexRequests.Net{Version}");
|
||||
request.AddHeader("X-Plex-Product", "Plex Requests .Net");
|
||||
request.AddHeader("X-Plex-Client-Identifier", $"Ombi{Version}");
|
||||
request.AddHeader("X-Plex-Product", "Ombi");
|
||||
request.AddHeader("X-Plex-Version", Version);
|
||||
request.AddHeader("Content-Type", json ? "application/json" : "application/xml");
|
||||
request.AddHeader("Accept", json ? "application/json" : "application/xml");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue