summaryrefslogtreecommitdiffstats
path: root/pyload/web/api_app.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/web/api_app.py')
-rw-r--r--pyload/web/api_app.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/api_app.py b/pyload/web/api_app.py
index 56e901b06..39747d5ea 100644
--- a/pyload/web/api_app.py
+++ b/pyload/web/api_app.py
@@ -25,7 +25,7 @@ except ImportError:
def json_response(obj):
accept = 'gzip' in request.headers.get('Accept-Encoding', '')
result = dumps(obj)
- # don't compress small files
+ # don't compress small string
if gzip and accept and len(result) > 500:
response.headers['Vary'] = 'Accept-Encoding'
response.headers['Content-Encoding'] = 'gzip'