aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-11-09 15:41:35 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-11-09 15:41:35 +0000
commit6c2f052744d189cbe94d9198463fc46e7ff8ea5b (patch)
tree0ddf8eb9f4077f95173d76a84fb36cacf02f6284 /src/http/ngx_http_request.c
parentcc5484fab1f8e5a5f08c05be6b2b7d040896849a (diff)
downloadnginx-6c2f052744d189cbe94d9198463fc46e7ff8ea5b.tar.gz
nginx-6c2f052744d189cbe94d9198463fc46e7ff8ea5b.zip
If-Range support
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 4b0190689..c1dc3a6b7 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -96,6 +96,10 @@ ngx_http_header_t ngx_http_headers_in[] = {
{ ngx_string("Range"), offsetof(ngx_http_headers_in_t, range),
ngx_http_process_header_line },
+ { ngx_string("If-Range"),
+ offsetof(ngx_http_headers_in_t, if_range),
+ ngx_http_process_unique_header_line },
+
{ ngx_string("Transfer-Encoding"),
offsetof(ngx_http_headers_in_t, transfer_encoding),
ngx_http_process_header_line },