Skip to content

Commit e9621ed

Browse files
committedMar 5, 2023
Small fix to response callback
1 parent 110177b commit e9621ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class RequestHandler(ProxyServerCallback):
4646
"""Do something with the request here"""
4747
return ProxyServerAction.Forward
4848

49-
async def on_new_response_async(self, response):
49+
async def on_new_response_async(self, request, response):
5050
"""Do something with the response here"""
5151
return ProxyServerAction.Forward
5252

0 commit comments

Comments
 (0)
Please sign in to comment.