comparison src/http/modules/ngx_http_gzip_filter_module.c @ 553:45033d85b30e release-0.2.5

nginx-0.2.5-RELEASE import *) Change: the duplicate value of the ngx_http_geo_module variable now causes the warning and changes old value. *) Feature: the ngx_http_ssi_module supports the "set" command. *) Feature: the ngx_http_ssi_module supports the "file" parameter in the "include" command. *) Feature: the ngx_http_ssi_module supports the variable value substitutions in expressions of the "if" command.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 04 Oct 2005 10:38:53 +0000
parents 818fbd4750b9
children 58475592100c
comparison
equal deleted inserted replaced
552:b6f3197058d3 553:45033d85b30e
278 if (!conf->enable 278 if (!conf->enable
279 || (r->headers_out.status != NGX_HTTP_OK 279 || (r->headers_out.status != NGX_HTTP_OK
280 && r->headers_out.status != NGX_HTTP_FORBIDDEN 280 && r->headers_out.status != NGX_HTTP_FORBIDDEN
281 && r->headers_out.status != NGX_HTTP_NOT_FOUND) 281 && r->headers_out.status != NGX_HTTP_NOT_FOUND)
282 || r->header_only 282 || r->header_only
283 || r->main 283 || r->main != r
284 || r->http_version < conf->http_version 284 || r->http_version < conf->http_version
285 || r->headers_out.content_type.len == 0 285 || r->headers_out.content_type.len == 0
286 || (r->headers_out.content_encoding 286 || (r->headers_out.content_encoding
287 && r->headers_out.content_encoding->value.len) 287 && r->headers_out.content_encoding->value.len)
288 || r->headers_in.accept_encoding == NULL 288 || r->headers_in.accept_encoding == NULL