title: Chrome Network Error - Downloading PDF
body: <p>In our application, we have a users downloading PDF through a AJAX call -- basically we have a table listing a lot of PDF files and when the user clicks on a filename, an AJAX call is made to a Servlet which serves the file as reponse.</p>
  
  <p>The Content-Length is set for the response along with other required params (Content-Disposition, Content-Type etc). We have observed that for a specific set of users, the download fails with a Network Error. The download is initially initiated and begins but after some time the download just stops processing and this error is thrown. This has been the behavior with both IE and Chrome. </p>
  
  <p>Initially, the content-length was not provided and hence defaulted to chunked transfer but this has been changed now. Even with chunked transfer we did have the same issue. </p>
  
  <p>We have run through the steps provided in Chrome documentation (clearing cookies etc) but there has been no respite. We did run through the net-exports feature in Chrome and they have the following as the last few lines as -</p>
  
  <pre><code>t=237104 [st=161960]  DOWNLOAD_ITEM_INTERRUPTED
                        --&gt; bytes_so_far = "0"
                        --&gt; interrupt_reason = "NETWORK_FAILED"
  t=237104 [st=161960] -DOWNLOAD_ITEM_ACTIVE
  </code></pre>
  
  <p>The users who are unable to download are able to download PDF from other sites. If we host a static PDF in our site, the users are able to access it as well.</p>
  
  <p>Any pointers on what would need to be our next lookout?</p>
  
  <p>(The users connect to a web server Apache HTTPD)</p>
  
  <p>Thanks,
  Aravind</p>