Content-type ook meeloggen bij AiAi

svn path=/Website/branches/v2017.1/; revision=34355
This commit is contained in:
Jos Groot Lipman
2017-06-19 18:13:16 +00:00
parent 7be1a4215d
commit 4bab2d8b8e

View File

@@ -381,9 +381,9 @@ function LogErrorToFile()
try
{
var method = Request.ServerVariables("REQUEST_METHOD");
var contenttype = String(Request.ServerVariables("HTTP_CONTENT_TYPE"));
if (method == "POST" || Request.TotalBytes > 0)
__DoLog("POSTed " + Request.TotalBytes + " bytes");
__DoLog("POSTed " + Request.TotalBytes + " bytes\nContent-type: " + contenttype);
if (Request.Form.Count>0)
__DoLogForm();
}