Fix #84
This commit is contained in:
parent
acbaecbfc5
commit
bed6039fff
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue