Added additional MIME types for XML

This commit is contained in:
2023-05-22 13:57:29 +02:00
parent d3ed7d4611
commit f857d0161a

View File

@@ -142,7 +142,9 @@ function showRequestBody(element){
}); });
break; break;
} }
case "application/xml":{ case "application/xml":
case "text/xml":
case "application/xml+xhtml": {
formatXML(historyRequestBody).then(function(result) { formatXML(historyRequestBody).then(function(result) {
if (result.status == "OK") { if (result.status == "OK") {
popupContent.innerText = result.result; popupContent.innerText = result.result;