From bed6039fffe416a37c020bb10b9bf82da3469682 Mon Sep 17 00:00:00 2001 From: el Mau Date: Mon, 9 Jan 2023 17:46:40 -0600 Subject: [PATCH] Fix #84 --- source/app/controllers/main.py | 2 ++ 1 file changed, 2 insertions(+) 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