From 5e6ed0a57705ed6e00a5366d411643eb720112a2 Mon Sep 17 00:00:00 2001 From: Jos Groot Lipman Date: Thu, 18 Feb 2016 09:38:40 +0000 Subject: [PATCH] FSN#35529 Bij JSON_Result ook content-type op application/json svn path=/Website/trunk/; revision=28209 --- APPL/Shared/Common.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/APPL/Shared/Common.inc b/APPL/Shared/Common.inc index b3fd2449ad..d6995487a3 100644 --- a/APPL/Shared/Common.inc +++ b/APPL/Shared/Common.inc @@ -53,6 +53,8 @@ if (typeof DOCTYPE_Disable == "undefined") // NLS_LANG moet altijd op de webserver op WE8MSWIN1252 Response.Codepage = 1252; Response.Charset = 'windows-1252'; +if (JSON_Result) + Response.ContentType = "application/json"; Response.Expires = this.FCLTEXPIRES||-1; // Do not cache our ASP files