Reputation: 1471
Noticed that when I click on a direct link to a PDF (mysite.com/resource/flyer.pdf) on my phone it downloads and then gives an option to view (Would you like to open the downloaded file?) instead of just opening the PDF in the browser itself.
However, this doesn't happen on desktop browser where it directly open in the browser.
I looked around and see that this has to do with response headers but I am not sure where and how to add or edit them.
The PDF file is the only thing in the folder.
I am on a litespeed server BTW.
Upvotes: 0
Views: 31