diff options
author | Mark Haines <mjark@negativecurvature.net> | 2015-09-28 14:22:44 +0100 |
---|---|---|
committer | Mark Haines <mjark@negativecurvature.net> | 2015-09-28 14:22:44 +0100 |
commit | 301141515a75f6925ff458a7de1d84bf7b3960e8 (patch) | |
tree | d5aeeadd630bdd8559f320be7c90742f75def41b /synapse/app/homeserver.py | |
parent | Merge pull request #290 from matrix-org/daniel/synctl (diff) | |
parent | Fix scripts-dev/definitions.py argparse options (diff) | |
download | synapse-301141515a75f6925ff458a7de1d84bf7b3960e8.tar.xz |
Merge pull request #288 from matrix-org/markjh/unused_definitions
Remove some of the unused definitions from synapse
Diffstat (limited to 'synapse/app/homeserver.py')
-rwxr-xr-x | synapse/app/homeserver.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/app/homeserver.py b/synapse/app/homeserver.py index 21840e4a28..190b03e2f7 100755 --- a/synapse/app/homeserver.py +++ b/synapse/app/homeserver.py @@ -85,12 +85,6 @@ import time logger = logging.getLogger("synapse.app.homeserver") -class GzipFile(File): - def getChild(self, path, request): - child = File.getChild(self, path, request) - return EncodingResourceWrapper(child, [GzipEncoderFactory()]) - - def gz_wrap(r): return EncodingResourceWrapper(r, [GzipEncoderFactory()]) @@ -134,6 +128,7 @@ class SynapseHomeServer(HomeServer): # (It can stay enabled for the API resources: they call # write() with the whole body and then finish() straight # after and so do not trigger the bug. + # GzipFile was removed in commit 184ba09 # return GzipFile(webclient_path) # TODO configurable? return File(webclient_path) # TODO configurable? |