aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_cycle.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2020-07-09 16:21:37 +0300
committerRoman Arutyunyan <arut@nginx.com>2020-07-09 16:21:37 +0300
commit5cef7de7a116bab3af9097dac5a22f7652be4273 (patch)
treedae187ed80a451467bf744e2d4a78e5b91b3b6f2 /src/core/ngx_cycle.c
parent826fb0d45c964d597975c1a08070cf9a579a08ac (diff)
downloadnginx-5cef7de7a116bab3af9097dac5a22f7652be4273.tar.gz
nginx-5cef7de7a116bab3af9097dac5a22f7652be4273.zip
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.
Diffstat (limited to 'src/core/ngx_cycle.c')
0 files changed, 0 insertions, 0 deletions