I'm trying to force a pdf file to download and save rather than be displayed in the browser.
I've set both Content-Type ("application/octet-stream") and Content-Disposition ("attachment"), but on the Android version of Chrome, it still opens in the browser. On desktop (Windows) Chrome it correctly switches to downloading the file with just the content-disposition applied.
Is there some other setting that I'm missing that can be included in my server side code to set the proper behavior? I'm needing the additional features of full PDF software rather than the simple built in viewer.