From 0fc62abe2e0be01db3f82a764c6d422ffbefe9a5 Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Wed, 12 Aug 2009 22:08:25 -0400 Subject: [PATCH 1/1] Compress ajaxterm redraws with gzip, to reduce latency svn path=/package_branches/invirt-web/ajaxterm-rebased/; revision=2754 --- code/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/code/main.py b/code/main.py index 77646c9..c18cd9f 100755 --- a/code/main.py +++ b/code/main.py @@ -407,6 +407,7 @@ console will suffer artifacts. return d @cherrypy.expose + @cherrypy.tools.gzip() def at(self, machine_id, k=None, c=0, force=0): machine = validation.Validate(cherrypy.request.login, cherrypy.request.state, machine_id=machine_id).machine if machine_id in self.atsessions: -- 1.7.9.5