diff --git a/HttpResponse.cs b/HttpResponse.cs index ae6a978..2eb58e7 100644 --- a/HttpResponse.cs +++ b/HttpResponse.cs @@ -303,6 +303,7 @@ public void SendHeaders() if (Headers["Server"] == null && Headers["Via"] == null) Headers.Add("Server", "WebOne/" + Program.Variables["WOVer"]); if (Headers["Connection"] == null) { Headers.Add("Connection", "Keep-Alive"); KeepAlive = true; } + if (Headers["Content-Type"] == "webone/unknown-content-type") Headers.Remove("Content-Type"); if (MshttpapiBackend != null) {