Mercurial > hg > nginx
comparison src/http/ngx_http_request.h @ 3441:b0fbe6ab9ebe stable-0.7
merge r3309, r3314, r3315, r3380:
gzip headers related fixes:
*) remove "Content-Encoding: gzip" in 304 response
sent by ngx_http_gzip_static_module
*) refactor gzip_vary handling
*) test r->header_only last, since it's not actually
frequent here: 304 and HEAD responses are not set it before the filter
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 01 Feb 2010 15:54:02 +0000 |
parents | ef8cfb09a50b |
children | 5d9ff79eab6f |
comparison
equal
deleted
inserted
replaced
3440:88741ec7731a | 3441:b0fbe6ab9ebe |
---|---|
449 unsigned waited:1; | 449 unsigned waited:1; |
450 | 450 |
451 #if (NGX_HTTP_CACHE) | 451 #if (NGX_HTTP_CACHE) |
452 unsigned cached:1; | 452 unsigned cached:1; |
453 #endif | 453 #endif |
454 unsigned gzip:2; | 454 |
455 #if (NGX_HTTP_GZIP) | |
456 unsigned gzip_tested:1; | |
457 unsigned gzip_ok:1; | |
458 unsigned gzip_vary:1; | |
459 #endif | |
455 | 460 |
456 unsigned proxy:1; | 461 unsigned proxy:1; |
457 unsigned bypass_cache:1; | 462 unsigned bypass_cache:1; |
458 unsigned no_cache:1; | 463 unsigned no_cache:1; |
459 | 464 |