[ 
https://issues.apache.org/jira/browse/AIRAVATA-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marcus Christie resolved AIRAVATA-3265.
---------------------------------------
    Resolution: Fixed

> Wagtail: add support for viewing pdf files in browser
> -----------------------------------------------------
>
>                 Key: AIRAVATA-3265
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-3265
>             Project: Airavata
>          Issue Type: Bug
>            Reporter: Marcus Christie
>            Assignee: Marcus Christie
>            Priority: Major
>
> Wagtail adds `Content-disposition: attachment` to PDF file requests, causing 
> them to be downloaded instead of opening them in the browser window.
> Resources:
> - https://stackoverflow.com/a/47304529
> - https://docs.wagtail.io/en/v2.0.2/reference/hooks.html#document-serving
> h5. Steps to reproduce
> # Go to https://ampgateway.org
> # Click on the pdf link: 
> https://ampgateway.org/documents/1/AMP-Gateway-Workshop-Dec2019-at-NIST.pdf
> h5. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to