mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 22:20:55 +03:00
set the mime type in the download blob
This commit is contained in:
@@ -163,7 +163,7 @@ describe('Server integration tests', function() {
|
||||
res.header['content-disposition'],
|
||||
'attachment; filename=test_upload.txt'
|
||||
);
|
||||
assert.equal(res.header['content-type'], 'application/octet-stream');
|
||||
assert.equal(res.header['content-type'], 'text/plain');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user