416 Requested Range Not Satisfiable

前端 未结 3 808
独厮守ぢ
独厮守ぢ 2021-01-03 21:22

Context: I am using a software package called Social Engine. It is extremely buggy.

Anyway, I asked (paid even) the Social Engine people to do an upgrade and when

相关标签:
3条回答
  • 2021-01-03 22:06

    I have, at the top of my .htaccess file

    Header set Accept-Ranges none
    RequestHeader unset Range 
    

    hope this helps.

    0 讨论(0)
  • 2021-01-03 22:06

    Intercept the headers coming back from your ISP and verify that you're getting a 416 status code. If so, intercept the headers you are sending to your ISP and drop the range header; this should force the server to send you the entire file.

    0 讨论(0)
  • 2021-01-03 22:12

    The issue could be due to your browser having cached the original CSS files and trying to request byte ranges of the new files. See for example this bug with Chrome.

    As far as disabling range requesting, it might not be necessary if you clear your browser cache, but if you need it you could try the following Apache config:

    Header unset Accept-Ranges
    

    This will tell clients that they cannot use the Range request header to request byte ranges of your files.

    0 讨论(0)
提交回复
热议问题