Comment 3 for bug 179983

Revision history for this message
Florent (florent.x) wrote :

Same difficulties trying to use SVGZ images with Zope3.

There's no easy way to set the header "Content-Encoding: gzip" for a file object which is gzipped.

See bug #174204 for a proposed solution.
IMHO this solution may apply to the "zope.app.file.interfaces.IFile" too.
We already use the "contentType" attribute.
Let's add a "contentEncoding" optional attribute.