Mercurial > hg > nginx-quic
diff src/http/modules/ngx_http_gzip_static_module.c @ 1832:2547ef00c722
ngx_http_gzip_static_module should DECLINE request
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 08 Jan 2008 10:35:50 +0000 |
parents | 0b5b94805d26 |
children | 115e6f029fcc |
line wrap: on
line diff
--- 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_re 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] == '/') {