Skip to content

Commit

Permalink
fix(log): preserve dict of rest async response headers (#2288)
Browse files Browse the repository at this point in the history
  • Loading branch information
vchudnov-g authored Dec 10, 2024
1 parent 18df585 commit b10cc21
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class Async{{service.name}}RestTransport(_Base{{ service.name }}RestTransport):
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -938,7 +938,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1066,7 +1066,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1194,7 +1194,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1316,7 +1316,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1438,7 +1438,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1566,7 +1566,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1690,7 +1690,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1818,7 +1818,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -1946,7 +1946,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down Expand Up @@ -2074,7 +2074,7 @@ async def __call__(self,
response_payload = None
http_response = {
"payload": response_payload,
"headers": str(dict(response.headers)),
"headers": dict(response.headers),
"status": "OK", # need to obtain this properly
}
_LOGGER.debug(
Expand Down

0 comments on commit b10cc21

Please sign in to comment.