message: Fixed firmware download
diff: @@ -995,9 +995,13 @@ export default class ChargingStationService {
  module: MODULE_NAME, method: 'handleGetFirmware',
  detailedMessages: { error: error.message, stack: error.stack },
  });
  + // Remove file related headers
  + res.setHeader('Content-Type', 'application/text');
  + res.setHeader('Content-Disposition', '');
  res.sendStatus(StatusCodes.NOT_FOUND);
  });
  // End of download
  + await new Promise((resolve) => {
  bucketStream.on('end', () => {
  Logging.logInfo({
  tenantID: Constants.DEFAULT_TENANT,
  @@ -1006,6 +1010,8 @@ export default class ChargingStationService {
  module: MODULE_NAME, method: 'handleGetFirmware',
  });
  res.end();
  + resolve();
  + });
  });
  }
  