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.
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. file.interfaces .IFile" too.
IMHO this solution may apply to the "zope.app.
We already use the "contentType" attribute.
Let's add a "contentEncoding" optional attribute.