I want certain file types (PDF) to always suggest to the browser that they be downloaded rather than opened in the browser. The header for this is of course Content-Disposition. I can add this header to an entire site, or a subfolder, using a CustomHeaders
entry in web.config; is it possible to limit it to the PDF mime type? Or to URLs ending in PDF?
↧