mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-24 01:34:45 +03:00
Added a user api handler, and improved portable ApiClient
This commit is contained in:
parent
23ea228079
commit
c7b305ee2e
@@ -407,7 +407,7 @@ namespace MediaBrowser.Common.Net.Handlers
|
||||
|
||||
if (request.HasEntityBody)
|
||||
{
|
||||
if (request.ContentType.Equals("application/x-www-form-urlencoded", StringComparison.OrdinalIgnoreCase))
|
||||
if (request.ContentType.IndexOf("application/x-www-form-urlencoded", StringComparison.OrdinalIgnoreCase) != -1)
|
||||
{
|
||||
using (Stream requestBody = request.InputStream)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user