From: Igor Sysoev Date: Tue, 8 Jan 2008 10:35:50 +0000 (+0000) Subject: ngx_http_gzip_static_module should DECLINE request X-Git-Tag: release-0.6.25~3 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=f53c2a00f87e6c7600e79776d3e2c16b4c3b452e;p=nginx.git ngx_http_gzip_static_module should DECLINE request --- diff --git a/src/http/modules/ngx_http_gzip_static_module.c b/src/http/modules/ngx_http_gzip_static_module.c index 601820340..c37364910 100644 --- a/src/http/modules/ngx_http_gzip_static_module.c +++ b/src/http/modules/ngx_http_gzip_static_module.c @@ -82,7 +82,7 @@ ngx_http_gzip_static_handler(ngx_http_request_t *r) ngx_http_gzip_static_conf_t *gzcf; if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) { - return NGX_HTTP_NOT_ALLOWED; + return NGX_DECLINED; } if (r->uri.data[r->uri.len - 1] == '/') {