Updating content type for bpmn project export
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user