Content-Encoding vs. Transfer-Encoding in gzip
| From: | Stanislav Malyshev | Date: | Sun, 25 Nov 2001 11:24:07 +0000 |
| Subject: | Content-Encoding vs. Transfer-Encoding in gzip | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-71591@lists.php.net to get a copy of this message | ||
gzip encoding module now uses Content-Encoding header to sign that the
page uses gzip encoding. Mozilla doesn't handle this 100% good (it saves
it as zipped, which is not exactly expected behaviour) and they claim
Transfer-Encoding is the right header to use for in-transfer encoding.
See: http://bugzilla.mozilla.org/show_bug.cgi?id=51852
So, the question is: shouldn't PHP indeed use Transfer-Encoding instead of
Content-Encoding?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115