diff --git a/smart_kit/action/http.py b/smart_kit/action/http.py index fab083fd..506d6b31 100644 --- a/smart_kit/action/http.py +++ b/smart_kit/action/http.py @@ -96,7 +96,7 @@ def _log_response(self, user, response, additional_params=None): additional_params = additional_params or {} log(f"{self.__class__.__name__}.run get https response ", user=user, params={ 'headers': dict(response.headers), - 'cookie': {i.name: i.value for i in response.cookies}, + 'cookie': {k: v.value for k, v in response.cookies.items()}, 'status': response.status, log_const.KEY_NAME: "got_http_response", **additional_params,