From 56331ba4993b02ce6c5ac67b8fee631cac53c652 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 18 Jan 2007 21:11:23 +0000 Subject: [PATCH] the "Overwrite" header line --- src/http/ngx_http_request.c | 3 +++ src/http/ngx_http_request.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index 74ca4b841..db64c5ba1 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -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 diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 22e17ee37..0c7f5cb5f 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -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