removed old code

This commit is contained in:
A_D committed 2022-01-26 18:58:34 +02:00
1 parent 10824250e1
commit ec6f333cfa
1 file changed
-6
-6
View File
@@ -45,12 +45,6 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
case _:
data = data_raw.decode('utf-8', errors='replace')
if self.headers.get('Content-Encoding') == 'gzip':
data = gzip.decompress(data_raw).decode('utf-8', errors='replace')
else:
data = data_raw.decode('utf-8', errors='replace')
to_save = data
target_path = self.path