diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-04-19 15:30:56 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-04-19 15:30:56 +0000 |
commit | 7bdb720d6a7b75021ca7cea17d6f3199b5acf4ca (patch) | |
tree | 1ff27cb0b6a00fc3a58aee44f869baa6574f0329 /src/http/ngx_http_request.c | |
parent | afae3fd4a4ba16147fa7a4db8e4d90799ee3b56b (diff) | |
download | nginx-release-0.3.40.tar.gz nginx-release-0.3.40.zip |
nginx-0.3.40-RELEASE importrelease-0.3.40
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r-- | src/http/ngx_http_request.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index f47fde38c..6bbaf446a 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -133,6 +133,14 @@ ngx_http_header_t ngx_http_headers_in[] = { ngx_http_process_header_line }, #endif +#if (NGX_HTTP_DAV) + { ngx_string("Depth"), offsetof(ngx_http_headers_in_t, depth), + ngx_http_process_header_line }, + + { ngx_string("Destination"), offsetof(ngx_http_headers_in_t, destination), + ngx_http_process_header_line }, +#endif + { ngx_string("Cookie"), 0, ngx_http_process_cookie }, { ngx_null_string, 0, NULL } @@ -1403,7 +1411,10 @@ ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc) return; } - if (rc >= NGX_HTTP_SPECIAL_RESPONSE || rc == NGX_HTTP_NO_CONTENT) { + if (rc >= NGX_HTTP_SPECIAL_RESPONSE + || rc == NGX_HTTP_CREATED + || rc == NGX_HTTP_NO_CONTENT) + { if (rc == NGX_HTTP_CLOSE) { ngx_http_close_request(r, rc); |