We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0790dc8 + 5022754 commit 373c304Copy full SHA for 373c304
Global.asax.cs
@@ -58,7 +58,7 @@ private void RequestEnd(RequestEndEvent @event)
58
if (bool.Parse(SystemManager.CurrentHttpContext.Items[SystemManager.IsBackendRequestKey].ToString()))
59
return;
60
61
- if (!response.ContentType.StartsWith("text/html"))
+ if (response.Headers["Content-Type"] == null || !response.Headers["Content-Type"].StartsWith("text/html"))
62
63
64
response.Write(watermarkHtml);
0 commit comments