diff --git a/VERSION b/VERSION index 8c3a44ea..b8366db2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.3 (2011-12-09 08:59:09) dev +Version 1.99.3 (2011-12-09 09:26:27) dev diff --git a/scgihandler.py b/scgihandler.py index 7492897c..bea3d879 100755 --- a/scgihandler.py +++ b/scgihandler.py @@ -54,13 +54,16 @@ import gluon.main # uncomment one of the two imports below depending on the SCGIWSGI server installed #import paste.util.scgiserver as scgi from wsgitools.scgi.forkpool import SCGIServer +from wsgitools.filters import WSGIFilterMiddleware, GzipWSGIFilter + +wsgiapp=WSGIFilterMiddleware(gluon.main.wsgibase, GzipWSGIFilter) if LOGGING: - application = gluon.main.appfactory(wsgiapp=gluon.main.wsgibase, + application = gluon.main.appfactory(wsgiapp=wsgiapp, logfilename='httpserver.log', profilerfilename=None) else: - application = gluon.main.wsgibase + application = wsgiapp if SOFTCRON: from gluon.settings import global_settings