Updating content type for bpmn project export

This commit is contained in:
Erik Amaru Ortiz
2014-05-09 16:49:31 -04:00
parent 32531197ee
commit d4a5761a2b

View File

@@ -117,7 +117,7 @@ class Project extends Api
$fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION); $fileExtension = pathinfo($outputFilename, PATHINFO_EXTENSION);
$httpStream->loadFromFile($outputFilename); $httpStream->loadFromFile($outputFilename);
$httpStream->setHeader("Content-Type", "application/$fileExtension"); $httpStream->setHeader("Content-Type", "application/xml; charset=UTF-8");
$httpStream->send(); $httpStream->send();
} }