title: Refused to get unsafe header "Accept-Ranges" error from pdf.js with amazon urls
body: <p>I'm trying to use pdf.js with range requests (progressive loading of the pdf document) , but when i'm trying to load the pdfs from amazon s3 urls this error appears in the console : </p>
  
  <p>-Refused to get unsafe header "Accept-Ranges"</p>
  
  <p>and the pdf doesn't load via 206 partial content (range requests) but 200 and then viewed in the viewer. </p>
  
  <p>this is an example of pdf url :</p>
  
  <p><a href="https://kotob.s3.amazonaws.com/book.pdf?Signature=irgVfoAZuPPIp5kpCesni2MzpLo%3D&amp;Expires=1366576877&amp;AWSAccessKeyId=AKIAILBHXSTPUIBTRMSA" rel="noreferrer">https://kotob.s3.amazonaws.com/book.pdf?Signature=irgVfoAZuPPIp5kpCesni2MzpLo%3D&amp;Expires=1366576877&amp;AWSAccessKeyId=AKIAILBHXSTPUIBTRMSA</a></p>
  
  <p>any help </p>