comparison src/http/ngx_http_request.c @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 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.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 71ff1e2b484a
children af37b7cb6698
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
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 }