Gzip Tornado response
This commit is contained in:
1 parent
9cb3bef156
commit
3eed34c710
1 file changed
+2
-1
@@ -245,7 +245,8 @@ def runCouchPotato(options, base_path, args, data_dir = None, log_dir = None, En
|
|||||||
(r'.*', FallbackHandler, dict(fallback = web_container)),
|
(r'.*', FallbackHandler, dict(fallback = web_container)),
|
||||||
],
|
],
|
||||||
log_function = lambda x : None,
|
log_function = lambda x : None,
|
||||||
debug = config['use_reloader']
|
debug = config['use_reloader'],
|
||||||
|
gzip = True,
|
||||||
)
|
)
|
||||||
|
|
||||||
if config['ssl_cert'] and config['ssl_key']:
|
if config['ssl_cert'] and config['ssl_key']:
|
||||||
|
|||||||
Reference in new issue
Block a user