title: FileSaver.js doesn't download PDF with Safari
body: <p>I have an issue with <a href="https://github.com/eligrey/FileSaver.js/" rel="nofollow noreferrer">FileSaver.js</a>, I can not download a PDF (or PNG or excel file) on Safari, but it works on any other web browser. I get the error in the console : 'Failed to load resource: The network connection was lost.'</p>
  
  <p>What is weird is that, this PDF file doesn't get downloaded if Tomcat serves it, but if it is Apache that serves the file, the download works fine.</p>
  
  <p>Here is a sample of code (I am working with angular 1.5.8):</p>
  
  <pre><code>$http.get(url, { responseType: 'arraybuffer' })
              .success(function (response) {
                  var file = new Blob([response], {type: 'application/pdf'});
                  fileSaverService(file, filename);
              });
  </code></pre>