mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-05-28 22:29:27 +03:00
removed old code
This commit is contained in:
parent
10824250e1
commit
ec6f333cfa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user