# HG changeset patch # User RhodeCode Admin # Date 2023-03-10 11:32:52 # Node ID a76e37378aedb5dfb4ad493f66c928476fd52e37 # Parent c50c73e45c0ead96052ac048a7c9128b430e9613 communication: use unpack without bytes diff --git a/rhodecode/lib/vcs/client_http.py b/rhodecode/lib/vcs/client_http.py --- a/rhodecode/lib/vcs/client_http.py +++ b/rhodecode/lib/vcs/client_http.py @@ -78,7 +78,7 @@ def _remote_call(url, payload, exception 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