annotate contrib/vim/ftplugin/nginx.vim @ 8029:32a343635b50

Slice filter: clear original Accept-Ranges. The slice filter allows ranges for the response by setting the r->allow_ranges flag, which enables the range filter. If the range was not requested, the range filter adds an Accept-Ranges header to the response to signal the support for ranges. Previously, if an Accept-Ranges header was already present in the first slice response, client received two copies of this header. Now, the slice filter removes the Accept-Ranges header from the response prior to setting the r->allow_ranges flag.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 09 Jul 2020 16:21:37 +0300
parents 32714e608629
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6839
32714e608629 Contrib: added 'commentstring' for vim-commentary support.
Armin Grodon <me@armingrodon.de>
parents:
diff changeset
1 setlocal commentstring=#\ %s