In Safari, my CSV files are being shown in the browser instead of downloading them using the Save As window.
I tried: response.setContentType("text/csv; charset=UTF-8");
. The other browsers are fine with the second option, but Safari kept displaying the file in-browser instead of prompting the user to save it.
By the way, i'm running Liferay.
I fixed it by including this: response.setContentType("application/csv; charset=UTF-8");
Thanks.