]> git.kaiwu.me - nginx.git/commitdiff
the "Overwrite" header line
authorIgor Sysoev <igor@sysoev.ru>
Thu, 18 Jan 2007 21:11:23 +0000 (21:11 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 18 Jan 2007 21:11:23 +0000 (21:11 +0000)
src/http/ngx_http_request.c
src/http/ngx_http_request.h

index 74ca4b8414e3b3e3c92e60d246054aeef8ea40fb..db64c5ba11562a133513b9fef93a579f99f51777 100644 (file)
@@ -141,6 +141,9 @@ ngx_http_header_t  ngx_http_headers_in[] = {
     { ngx_string("Destination"), offsetof(ngx_http_headers_in_t, destination),
                  ngx_http_process_header_line },
 
+    { ngx_string("Overwrite"), offsetof(ngx_http_headers_in_t, overwrite),
+                 ngx_http_process_header_line },
+
     { ngx_string("Date"), offsetof(ngx_http_headers_in_t, date),
                  ngx_http_process_header_line },
 #endif
index 22e17ee373300d18b359ad209f3f101fa129fef1..0c7f5cb5fdf460170b0e22232d1067f16fa197f3 100644 (file)
@@ -194,6 +194,7 @@ typedef struct {
 #if (NGX_HTTP_DAV)
     ngx_table_elt_t                  *depth;
     ngx_table_elt_t                  *destination;
+    ngx_table_elt_t                  *overwrite;
     ngx_table_elt_t                  *date;
 #endif