Does anyone know what could be the reason for the file not being downloaded even if Content-Disposition header is set correctly ?
Recently I was working on something and found it very weird that whenever you try to use Google Instant(auto-completion suggestions you get while typing on Google search), XHR request is sent and result has Content-Disposition header with the value : attachment; filename="f.txt".
I wonder what could be the reason for it. (Some other header causing that ? I don't think so.)
You can either try it out or check for request details here[0] (Search for "filename" in this file).
--