1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

- add note about the past for the future, see http://bugs.php.net/?id=40310&edit=1

This commit is contained in:
Michael Wallner
2007-02-02 17:11:10 +00:00
parent a7ade0d5ae
commit cd2554343b

View File

@@ -218,6 +218,8 @@ int php_zlib_output_handler(void **handler_context, php_output_context *output_c
deflateEnd(&ctx->Z);
return FAILURE;
}
/* "Vary: Accept-Encoding" header sent along uncompressed content breaks caching in MSIE,
so let's just send it with successfully compressed content, see http://bugs.php.net/40325 */
sapi_add_header_ex(ZEND_STRL("Vary: Accept-Encoding"), 1, 1 TSRMLS_CC);
php_output_handler_hook(PHP_OUTPUT_HANDLER_HOOK_IMMUTABLE, NULL TSRMLS_CC);
}