Mercurial > hg > nginx
comparison src/http/ngx_http_request.c @ 637:e60fe4cf1d4e release-0.3.40
nginx-0.3.40-RELEASE import
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 15:30:56 +0000 |
parents | 18268abd340c |
children | 715d24327080 |
comparison
equal
deleted
inserted
replaced
636:21003753acbf | 637:e60fe4cf1d4e |
---|---|
128 { ngx_string("Accept"), offsetof(ngx_http_headers_in_t, accept), | 128 { ngx_string("Accept"), offsetof(ngx_http_headers_in_t, accept), |
129 ngx_http_process_header_line }, | 129 ngx_http_process_header_line }, |
130 | 130 |
131 { ngx_string("Accept-Language"), | 131 { ngx_string("Accept-Language"), |
132 offsetof(ngx_http_headers_in_t, accept_language), | 132 offsetof(ngx_http_headers_in_t, accept_language), |
133 ngx_http_process_header_line }, | |
134 #endif | |
135 | |
136 #if (NGX_HTTP_DAV) | |
137 { ngx_string("Depth"), offsetof(ngx_http_headers_in_t, depth), | |
138 ngx_http_process_header_line }, | |
139 | |
140 { ngx_string("Destination"), offsetof(ngx_http_headers_in_t, destination), | |
133 ngx_http_process_header_line }, | 141 ngx_http_process_header_line }, |
134 #endif | 142 #endif |
135 | 143 |
136 { ngx_string("Cookie"), 0, ngx_http_process_cookie }, | 144 { ngx_string("Cookie"), 0, ngx_http_process_cookie }, |
137 | 145 |
1401 | 1409 |
1402 ngx_http_close_request(r, 0); | 1410 ngx_http_close_request(r, 0); |
1403 return; | 1411 return; |
1404 } | 1412 } |
1405 | 1413 |
1406 if (rc >= NGX_HTTP_SPECIAL_RESPONSE || rc == NGX_HTTP_NO_CONTENT) { | 1414 if (rc >= NGX_HTTP_SPECIAL_RESPONSE |
1415 || rc == NGX_HTTP_CREATED | |
1416 || rc == NGX_HTTP_NO_CONTENT) | |
1417 { | |
1407 | 1418 |
1408 if (rc == NGX_HTTP_CLOSE) { | 1419 if (rc == NGX_HTTP_CLOSE) { |
1409 ngx_http_close_request(r, rc); | 1420 ngx_http_close_request(r, rc); |
1410 return; | 1421 return; |
1411 } | 1422 } |