FSN#35529 Bij JSON_Result ook content-type op application/json
svn path=/Website/trunk/; revision=28209
This commit is contained in:
@@ -53,6 +53,8 @@ if (typeof DOCTYPE_Disable == "undefined")
|
|||||||
// NLS_LANG moet altijd op de webserver op WE8MSWIN1252
|
// NLS_LANG moet altijd op de webserver op WE8MSWIN1252
|
||||||
Response.Codepage = 1252;
|
Response.Codepage = 1252;
|
||||||
Response.Charset = 'windows-1252';
|
Response.Charset = 'windows-1252';
|
||||||
|
if (JSON_Result)
|
||||||
|
Response.ContentType = "application/json";
|
||||||
|
|
||||||
Response.Expires = this.FCLTEXPIRES||-1; // Do not cache our ASP files
|
Response.Expires = this.FCLTEXPIRES||-1; // Do not cache our ASP files
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user