MARX#90858 Facilitor API contenttype aanpassen voor flexibele respons instellingen
svn path=/Website/trunk/; revision=70460
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
Session.Codepage = 65001;
|
Session.Codepage = 65001;
|
||||||
Response.Charset = 'utf-8';
|
Response.Charset = 'utf-8';
|
||||||
|
|
||||||
|
var contenttype = getQParam("contenttype", "text/xml"); // of "application/soap+xml"
|
||||||
|
|
||||||
function marx_get_mld_opdr_key (p_xml)
|
function marx_get_mld_opdr_key (p_xml)
|
||||||
{ var l_mld_opdr_key;
|
{ var l_mld_opdr_key;
|
||||||
@@ -305,7 +306,7 @@ if (v_API)
|
|||||||
}
|
}
|
||||||
|
|
||||||
__Log("xmldoc.xml:" + xmldoc.xml);
|
__Log("xmldoc.xml:" + xmldoc.xml);
|
||||||
Response.ContentType = "application/soap+xml";
|
Response.ContentType = contenttype; // default text/xml
|
||||||
if (API.apidata.stylesheet_out)
|
if (API.apidata.stylesheet_out)
|
||||||
{
|
{
|
||||||
// Niet super efficient dat we eerst naar tekstuele xml gaan maar ach...
|
// Niet super efficient dat we eerst naar tekstuele xml gaan maar ach...
|
||||||
|
|||||||
Reference in New Issue
Block a user