diff --git a/source/app/controllers/main.py b/source/app/controllers/main.py index 1981b6e..f01c7a3 100644 --- a/source/app/controllers/main.py +++ b/source/app/controllers/main.py @@ -548,6 +548,8 @@ class AppDocumentos(object): if not type_doc in ('pdf', 'pre', 'tpdf', 'pdfpago', 'html'): resp.append_header('Content-Disposition', 'attachment; filename={}'.format(file_name)) + resp.append_header('Content-Disposition', + 'inline; filename={}'.format(file_name)) resp.content_type = content_type resp.status = falcon.HTTP_200