Webconverger / webc

Webconverger's curated chroot from which updates originate
https://webconverger.org/upgrade/
73 stars 37 forks source link

Force PDF Content-Disposition: attachment, to be inline #157

Closed kaihendry closed 11 years ago

kaihendry commented 11 years ago

Sometimes PDFs on the net can be marked up like so:

Content-Disposition: attachment; filename="Form_05_NTC_APPEAR.pdf"

Instead of

Content-Disposition: inline; filename="Form_05_NTC_APPEAR.pdf"

Which opens inline, for viewing inside the browser window.

Ideally we can force PDFs to not download, but to show instead.