Mercurial > hg > nginx
comparison src/http/modules/ngx_http_empty_gif_module.c @ 645:4946078f0a79 release-0.3.44
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.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 04 May 2006 15:32:46 +0000 |
parents | c73c5c58c619 |
children | 39b7d7b33c91 |
comparison
equal
deleted
inserted
replaced
644:610ff734a8cc | 645:4946078f0a79 |
---|---|
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 |