diff src/http/ngx_http_request.c @ 2348:8298d1be0b44 stable-0.6

r2068 merge: the "Expect" header support
author Igor Sysoev <igor@sysoev.ru>
date Thu, 27 Nov 2008 14:22:34 +0000
parents 9e219f02594c
children 8e4450668968
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -109,6 +109,10 @@ ngx_http_header_t  ngx_http_headers_in[]
                  offsetof(ngx_http_headers_in_t, transfer_encoding),
                  ngx_http_process_header_line },
 
+    { ngx_string("Expect"),
+                 offsetof(ngx_http_headers_in_t, expect),
+                 ngx_http_process_unique_header_line },
+
 #if (NGX_HTTP_GZIP)
     { ngx_string("Accept-Encoding"),
                  offsetof(ngx_http_headers_in_t, accept_encoding),