mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-06 10:23:06 +03:00
removed old code
This commit is contained in:
parent
10824250e1
commit
ec6f333cfa
@ -45,12 +45,6 @@ class LoggingHandler(server.BaseHTTPRequestHandler):
|
|||||||
case _:
|
case _:
|
||||||
data = data_raw.decode('utf-8', errors='replace')
|
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
|
to_save = data
|
||||||
|
|
||||||
target_path = self.path
|
target_path = self.path
|
||||||
|
Loading…
x
Reference in New Issue
Block a user