title: Download PDF file from iPad
body: <p>I have a server side component (i.e. a Servlet) that creates a PDF file and sent it back to the browser with this response header:</p>
  
  <pre><code>response.setContentType("application/pdf");
  response.setHeader("Cache-Control", "cache");
  response.setHeader("Pragma", "cache");
  response.setHeader("Content-Disposition", "attachment;filename=document.pdf");
  </code></pre>
  
  <p>All works fine in all browser except on iPad. On iPad the content is showed but the browser does not ask me if I want to save the file.</p>
  
  <p>Any idea how to fix this issue?</p>