how to send application/octet-stream + express code example
Example: express octet stream
app.get((req, res, next) => {
res.setHeader('Content-Type', 'application/octet-stream');
res.sendFile('/file/to/be/downloaded.ext');
res.status(200);
});