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_empty_gif_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/modules/ngx_http_empty_gif_module.c') diff --git a/src/http/modules/ngx_http_empty_gif_module.c b/src/http/modules/ngx_http_empty_gif_module.c index d72983ad4..82bf8c5e2 100644 --- a/src/http/modules/ngx_http_empty_gif_module.c +++ b/src/http/modules/ngx_http_empty_gif_module.c @@ -112,7 +112,7 @@ ngx_http_empty_gif_handler(ngx_http_request_t *r) ngx_buf_t *b; ngx_chain_t out; - 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 v1.2.3