From 41a62fc572b7507b38c684523d0e1e49f3340ede Mon Sep 17 00:00:00 2001 From: RhodeCode Admin Date: Fri, 10 Mar 2023 12:32:52 +0100 Subject: [PATCH] communication: use unpack without bytes --- rhodecode/lib/vcs/client_http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rhodecode/lib/vcs/client_http.py b/rhodecode/lib/vcs/client_http.py index 6c6a4529..5d40e6b6 100644 --- a/rhodecode/lib/vcs/client_http.py +++ b/rhodecode/lib/vcs/client_http.py @@ -78,7 +78,7 @@ def _remote_call(url, payload, exceptions_map, session): raise exceptions.HttpVCSCommunicationError(repr(response.content)) try: - response = msgpack.unpackb(response.content) + response = msgpack.unpackb(response.content, raw=False) except Exception: log.exception('Failed to decode response %r', response.content) raise