diff --git a/python/nistoar/pdr/publish/midas3/mdwsgi.py b/python/nistoar/pdr/publish/midas3/mdwsgi.py index 98f0e99f5..1a5b7b819 100644 --- a/python/nistoar/pdr/publish/midas3/mdwsgi.py +++ b/python/nistoar/pdr/publish/midas3/mdwsgi.py @@ -361,7 +361,8 @@ def send_datafile(self, id, filepath): self.set_response(200, "Data file found") self.add_header('Content-Type', mtype) - self.add_header('Content-Disposition', os.path.basename(filepath)) + self.add_header('Content-Disposition', + 'inline; filename="%s"' % os.path.basename(filepath)) if xsend: self.add_header('X-Accel-Redirect', xsend) self.end_headers()