fix(http): set correct Accept header when dowloading eml file

This commit is contained in:
Hivert Quentin
2023-10-11 11:32:26 +02:00
parent 87e1240ace
commit c569ed2d77

View File

@@ -1041,7 +1041,7 @@
Message.prototype.download = function () {
var options;
options = { filename: this.subject + '.eml' };
options = { filename: this.subject + '.eml', type: 'message/rfc822' };
return Message.$$resource.download(this.$absolutePath(), 'export', undefined, options);
};