From ac72bd17d1c845b81aa9d1050b764ba1018ae462 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 4 May 2006 15:32:46 +0000 Subject: 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. --- src/http/modules/ngx_http_static_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_static_module.c') diff --git a/src/http/modules/ngx_http_static_module.c b/src/http/modules/ngx_http_static_module.c index 3399e5098..ad0885217 100644 --- a/src/http/modules/ngx_http_static_module.c +++ b/src/http/modules/ngx_http_static_module.c @@ -86,7 +86,7 @@ ngx_http_static_handler(ngx_http_request_t *r) ngx_pool_cleanup_file_t *clnf; ngx_http_core_loc_conf_t *clcf; - if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { + if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { return NGX_HTTP_NOT_ALLOWED; } -- cgit