Accept-Ranges not ignored

Just Marc marc at
Thu Aug 9 16:32:46 MSD 2007


I use X-Accel-Redirect to send files to users, for some users I don't 
want to allow resume.   So I set the 'Accept-Ranges: none' header in 
PHP. but the result header in the response looks like so:

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, 
Accept-Ranges: none
Content-Disposition: attachment;filename=""
Accept-Ranges: bytes

Basically I need nginx to skip adding this header if it's already set.


More information about the nginx mailing list