diff src/http/ngx_http_request.c @ 1630:9706372f8916

If-Range support
author Igor Sysoev <igor@sysoev.ru>
date Fri, 09 Nov 2007 15:41:35 +0000
parents 4435ca2e467d
children 02a22cd5282a
line wrap: on
line diff
--- a/src/http/ngx_http_request.c	Fri Nov 09 13:17:58 2007 +0000
+++ b/src/http/ngx_http_request.c	Fri Nov 09 15:41:35 2007 +0000
@@ -96,6 +96,10 @@
     { 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 },