fix: remove stray middleware decorator

This commit is contained in:
Arjan Singh 2025-09-01 10:24:07 -07:00
parent 9bf37b4ae7
commit efd299d681
No known key found for this signature in database
GPG Key ID: B1102A5F9699979D

View File

@ -48,8 +48,6 @@ async def send_socket_catch_exception(function, message):
except (aiohttp.ClientError, aiohttp.ClientPayloadError, ConnectionResetError, BrokenPipeError, ConnectionError) as err:
logging.warning("send error: {}".format(err))
@web.middleware
@web.middleware
async def compress_body(request: web.Request, handler):
accept_encoding = request.headers.get("Accept-Encoding", "")