Mercurial > hg > nginx-vendor-0-7
comparison src/http/modules/ngx_http_index_module.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 | e1c6ac408b68 |
children | 003bd800ec2a |
comparison
equal
deleted
inserted
replaced
185:a9c5dc369ffe | 186:54aabf2b0bc6 |
---|---|
141 /* TODO: Win32 */ | 141 /* TODO: Win32 */ |
142 if (r->zero_in_uri) { | 142 if (r->zero_in_uri) { |
143 return NGX_DECLINED; | 143 return NGX_DECLINED; |
144 } | 144 } |
145 | 145 |
146 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { | |
147 return NGX_DECLINED; | |
148 } | |
149 | |
146 log = r->connection->log; | 150 log = r->connection->log; |
147 | 151 |
148 /* | 152 /* |
149 * we use context because the handler supports an async file opening, | 153 * we use context because the handler supports an async file opening, |
150 * and may be called several times | 154 * and may be called several times |