mirror of
https://github.com/nginx/nginx.git
synced 2025-06-11 04:12:40 +08:00
Upstream: fill r->headers_out.content_range from upstream response.
This commit is contained in:
parent
9752706bd4
commit
1b478c50de
@ -250,6 +250,11 @@ ngx_http_upstream_header_t ngx_http_upstream_headers_in[] = {
|
|||||||
ngx_http_upstream_copy_allow_ranges,
|
ngx_http_upstream_copy_allow_ranges,
|
||||||
offsetof(ngx_http_headers_out_t, accept_ranges), 1 },
|
offsetof(ngx_http_headers_out_t, accept_ranges), 1 },
|
||||||
|
|
||||||
|
{ ngx_string("Content-Range"),
|
||||||
|
ngx_http_upstream_ignore_header_line, 0,
|
||||||
|
ngx_http_upstream_copy_header_line,
|
||||||
|
offsetof(ngx_http_headers_out_t, content_range), 0 },
|
||||||
|
|
||||||
{ ngx_string("Connection"),
|
{ ngx_string("Connection"),
|
||||||
ngx_http_upstream_process_connection, 0,
|
ngx_http_upstream_process_connection, 0,
|
||||||
ngx_http_upstream_ignore_header_line, 0, 0 },
|
ngx_http_upstream_ignore_header_line, 0, 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user