Browse Source

add logging

Luke Pulverenti 9 years ago
parent
commit
5ed013855f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      MediaBrowser.Api/Images/ImageService.cs

+ 1 - 0
MediaBrowser.Api/Images/ImageService.cs

@@ -699,6 +699,7 @@ namespace MediaBrowser.Api.Images
 
 
         private ImageFormat[] GetClientSupportedFormats()
         private ImageFormat[] GetClientSupportedFormats()
         {
         {
+            //Logger.Debug("Request types: {0}", string.Join(",", Request.AcceptTypes ?? new string[] { }));
             var supportsWebP = (Request.AcceptTypes ?? new string[] { }).Contains("image/webp", StringComparer.OrdinalIgnoreCase);
             var supportsWebP = (Request.AcceptTypes ?? new string[] { }).Contains("image/webp", StringComparer.OrdinalIgnoreCase);
 
 
             var userAgent = Request.UserAgent ?? string.Empty;
             var userAgent = Request.UserAgent ?? string.Empty;