MARX#90858 Facilitor API contenttype aanpassen voor flexibele respons instellingen

svn path=/Website/trunk/; revision=70460
This commit is contained in:
Jos Groot Lipman
2025-09-30 10:07:32 +00:00
parent 3f3eadc244
commit ba04e646e3

View File

@@ -27,6 +27,7 @@
Session.Codepage = 65001;
Response.Charset = 'utf-8';
var contenttype = getQParam("contenttype", "text/xml"); // of "application/soap+xml"
function marx_get_mld_opdr_key (p_xml)
{ var l_mld_opdr_key;
@@ -305,7 +306,7 @@ if (v_API)
}
__Log("xmldoc.xml:" + xmldoc.xml);
Response.ContentType = "application/soap+xml";
Response.ContentType = contenttype; // default text/xml
if (API.apidata.stylesheet_out)
{
// Niet super efficient dat we eerst naar tekstuele xml gaan maar ach...