[수정] req,res 구분 코드

This commit is contained in:
tk 2025-06-09 23:35:52 +09:00
commit 568d3f0ce5
2 changed files with 37 additions and 6 deletions

View file

@ -67,10 +67,17 @@ class ClientSecretAddon:
self.checker = ClientSecretChecker()
async def request(self, flow: http.HTTPFlow):
try:
self.checker.request(flow)
except Exception as e:
print(f"[ERROR] ClientSecretAddon request failed: {e}")
pass
async def response(self, flow: http.HTTPFlow):
try:
self.checker.response(flow)
except Exception as e:
print(f"[ERROR] ClientSecretAddon failed: {e}")
print(f"[ERROR] ClientSecretAddon response failed: {e}")
pass
addons = [PKCEAddon(), ScopeAddon(), CsrfAddon(), NonceAddon(), ClientSecretAddon()]