comparison src/http/modules/ngx_http_empty_gif_module.c @ 194:003bd800ec2a NGINX_0_3_44

nginx 0.3.44 *) 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 <http://sysoev.ru>
date Thu, 04 May 2006 00:00:00 +0400
parents 6be073125f2e
children d2ae1c9f1fd3
comparison
equal deleted inserted replaced
193:2a1394604ae9 194:003bd800ec2a
110 { 110 {
111 ngx_int_t rc; 111 ngx_int_t rc;
112 ngx_buf_t *b; 112 ngx_buf_t *b;
113 ngx_chain_t out; 113 ngx_chain_t out;
114 114
115 if (r->method != NGX_HTTP_GET && r->method != NGX_HTTP_HEAD) { 115 if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {
116 return NGX_HTTP_NOT_ALLOWED; 116 return NGX_HTTP_NOT_ALLOWED;
117 } 117 }
118 118
119 rc = ngx_http_discard_body(r); 119 rc = ngx_http_discard_body(r);
120 120