You can set headers in the express middleware the same way as express documents. Using res.setHeader
Or you can add afterRender listener to jsreport
jsreport.init().then(() => { jsreport.afterRenderListeners.add('mylistener', (req,res) => { console.log('here') res.meta.headers['MY-HEADER'] = 'xxx' }) // running })Or you can implement global jsreport script that will do it for every report.