diff options
| author | Luke <luke.pulverenti@gmail.com> | 2016-11-26 19:44:38 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-11-26 19:44:38 -0500 |
| commit | 45b7d8cbeefbdea186f37579327da6dd9b8310fe (patch) | |
| tree | 434fa3d1540d2adf09374e43a4de35638eedccce /Emby.Server.Implementations/HttpServer | |
| parent | b9841d2428add47c982c33d0eb2fabf3df4198ca (diff) | |
| parent | 75c71df2954a530982978e16dfe8b2891270cf5d (diff) | |
Merge pull request #2310 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/HttpServer')
| -rw-r--r-- | Emby.Server.Implementations/HttpServer/HttpListenerHost.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs index c1758127a..8a5ae2c3a 100644 --- a/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs +++ b/Emby.Server.Implementations/HttpServer/HttpListenerHost.cs @@ -414,9 +414,9 @@ namespace Emby.Server.Implementations.HttpServer httpRes.StatusCode = 200; httpRes.AddHeader("Access-Control-Allow-Origin", "*"); httpRes.AddHeader("Access-Control-Allow-Methods", "GET, POST, PUT, DELETE, PATCH, OPTIONS"); - httpRes.AddHeader("Access-Control-Allow-Headers", - "Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization"); - httpRes.ContentType = "text/html"; + httpRes.AddHeader("Access-Control-Allow-Headers", "Content-Type, Authorization, Range, X-MediaBrowser-Token, X-Emby-Authorization"); + httpRes.ContentType = "text/plain"; + Write(httpRes, string.Empty); return; } |
