Problem with chrome browser in my website

#1

hey everyone, i have added a downloadable pdf file in my website if works fine in mozilla firefox browser
but when i tried to open it with chrome browser it opens pdf file in browser instead of downloading it. How i can be able to make it for chrome browser so that user can download it instead of opening in chrome browser.Thank you!!

0 Likes

#2

This is something that must be changed on your origin server. You can set the Content-Disposition header depending on if you want it to download or inline.

1 Like

closed #3

This topic was automatically closed after 31 days. New replies are no longer allowed.

0 Likes