Closed
Description
https://www.npmjs.com/package/content-disposition
These three occurrences would benefit from using a proper package. Because the format is not as trivial as they make it look.
Line 1762 in 7f67a08
https://github.com/veliovgroup/Meteor-Files/blob/master/docs/gridfs-bucket-integration.md#4-create-download-handler
https://github.com/veliovgroup/Meteor-Files/blob/7f67a0885e120ad77085b191e3399add575a2d89/docs/gridfs-streaming.md
E.g. this will break easily:
http.response.setHeader('Content-Disposition', `inline; filename="${file.name}"`);