Package Products :: Package ZenWidgets :: Module FileGzipper' |
[hide private]
[frames] | no frames]

# Module FileGzipper'

source code

FileGzipper

A monkey patch that enables gzip compression on static files

Functions | [hide private]
index_html(self, REQUEST, RESPONSE) The default view of the contents of a File or Image. | source code

Function Details | [hide private]

### index_html(self, REQUEST, RESPONSE) | source code
The default view of the contents of a File or Image. Returns the contents of the file or image. Also, sets the Content-Type HTTP header to the objects content type.