diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-10-19 18:55:08 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-10-19 18:55:08 +0200 |
commit | 3beab050c339c51c484af9bcd8248ba8ebbbf4d4 (patch) | |
tree | 0771c5e3c3da18e2a1295954fc25ce3a938c542f /src/hydrilla/proxy/policies/misc.py | |
parent | 94e8af18b60eacfd397b288a7996fc114b853530 (diff) | |
download | haketilo-hydrilla-3beab050c339c51c484af9bcd8248ba8ebbbf4d4.tar.gz haketilo-hydrilla-3beab050c339c51c484af9bcd8248ba8ebbbf4d4.zip |
[proxy] pass all available flow information to relevant methods of Policy type
Diffstat (limited to 'src/hydrilla/proxy/policies/misc.py')
-rw-r--r-- | src/hydrilla/proxy/policies/misc.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/hydrilla/proxy/policies/misc.py b/src/hydrilla/proxy/policies/misc.py index 6d1e032..71692b3 100644 --- a/src/hydrilla/proxy/policies/misc.py +++ b/src/hydrilla/proxy/policies/misc.py @@ -71,8 +71,11 @@ class DoNothingPolicy(base.Policy): def consume_request(self, request_info: http_messages.RequestInfo) -> None: return None - def consume_response(self, response_info: http_messages.ResponseInfo) \ - -> None: + def consume_response( + self, + request_info: http_messages.RequestInfo, + response_info: http_messages.ResponseInfo + ) -> None: return None builtin: bool = True |