Mercurial > hg > nginx
diff src/http/ngx_http_request.c @ 6538:055cbb52ac1d
Dav: return 501 on PUT with ranges (ticket #948).
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 16 May 2016 20:37:23 +0300 |
parents | f7849bfb6d21 |
children | 654d2dae97d3 |
line wrap: on
line diff
--- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -110,6 +110,10 @@ ngx_http_header_t ngx_http_headers_in[] offsetof(ngx_http_headers_in_t, content_length), ngx_http_process_unique_header_line }, + { ngx_string("Content-Range"), + offsetof(ngx_http_headers_in_t, content_range), + ngx_http_process_unique_header_line }, + { ngx_string("Content-Type"), offsetof(ngx_http_headers_in_t, content_type), ngx_http_process_header_line },