Mercurial > hg > nginx
comparison src/http/modules/ngx_http_static_module.c @ 645:4946078f0a79 release-0.3.44
nginx-0.3.44-RELEASE import
*) Feature: the "wait" parameter in the "include" SSI command.
*) Feature: the Ukrainian and Byelorussian characters were added to
koi-win conversion table.
*) Bugfix: in the SSI.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 May 2006 15:32:46 +0000 |
parents | 715d24327080 |
children | 7e24168b0853 |
comparison
equal
deleted
inserted
replaced
644:610ff734a8cc | 645:4946078f0a79 |
---|---|
84 ngx_file_info_t fi; | 84 ngx_file_info_t fi; |
85 ngx_pool_cleanup_t *cln; | 85 ngx_pool_cleanup_t *cln; |
86 ngx_pool_cleanup_file_t *clnf; | 86 ngx_pool_cleanup_file_t *clnf; |
87 ngx_http_core_loc_conf_t *clcf; | 87 ngx_http_core_loc_conf_t *clcf; |
88 | 88 |
89 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { | 89 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { |
90 return NGX_HTTP_NOT_ALLOWED; | 90 return NGX_HTTP_NOT_ALLOWED; |
91 } | 91 } |
92 | 92 |
93 if (r->uri.data[r->uri.len - 1] == '/') { | 93 if (r->uri.data[r->uri.len - 1] == '/') { |
94 return NGX_DECLINED; | 94 return NGX_DECLINED; |