Accept-Ranges not ignored
Just Marc
marc at corky.net
Thu Aug 9 16:32:46 MSD 2007
Hi,
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,
pre-check=0
Accept-Ranges: none
Content-Disposition: attachment;filename="test.zip"
Accept-Ranges: bytes
Basically I need nginx to skip adding this header if it's already set.
Thanks,
Marc
More information about the nginx
mailing list