title: Why do some PDFs hang when downloading in IE when served by Lighttpd
body: <p>We have a number of PDFs hosted using Lighttpd but when they are downloaded in IE (7.0.5730.13), the file download hangs at the end and does not complete. For example</p>
  
  <p><a href="http://static.vouchercodes.co.uk/printable/87-burger-king-voucher.pdf" rel="nofollow noreferrer">http://static.vouchercodes.co.uk/printable/87-burger-king-voucher.pdf</a></p>
  
  <p><a href="http://static.vouchercodes.co.uk/printable/10-gbk.pdf" rel="nofollow noreferrer">http://static.vouchercodes.co.uk/printable/10-gbk.pdf</a></p>
  
  <p>This works fine in Firefox (3.0.5) both on OSX 10.5 and Windows XP but not on IE 7.</p>
  
  <p>A screenshot of the hung download can be seen at <a href="http://www.mytton.net/so-pdf-q.png" rel="nofollow noreferrer">http://www.mytton.net/so-pdf-q.png</a></p>
  
  <p>This is not localised to one machine and has been replicated on other IE7 Windows PCs. The problem affects only the PDFs on the vouchercodes.co.uk site as other sites with PDFs work fine.</p>
  
  <p>It has also been replicated with other versions of IE7/IE6 but not consistently.</p>