title: Unable to download .txt extension file from chrome in mac os. File content-type is "text/csv"
body: <p>I am trying to download a file having .txt extension from my application in mac chrome. I am setting content-type as "text/csv" in my code. When I downloaded that file,  its in .csv extension instead of .txt. In all other browsers its downloading as .txt file and in windows chrome also its working fine. 
  I tried googling but couldn't get exact solution for this.</p>
  
  <pre><code>if (response != null) {
  final String contentDisposition = "attachment;";
  response.addHeader("Content-Disposition", contentDisposition);
  response.addHeader("Content-Type", "text/csv");
  response.addHeader("Expires", "0");
  }
  </code></pre>
  
  <p>Actual Result: File is downloading with .csv extension.
  Expected Result: File have to download with .txt extension.</p>