application/octet-stream in nodejs 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);
});
app.get((req, res, next) => {
res.setHeader('Content-Type', 'application/octet-stream');
res.sendFile('/file/to/be/downloaded.ext');
res.status(200);
});