From 59c27453e77e6bb56b47a9519980311bfd6f7406 Mon Sep 17 00:00:00 2001 From: mejmo
Date: Sat, 4 Nov 2017 17:19:35 +0100 Subject: [PATCH] Issue #59 Convert unicode URL to str --- pyamf/remoting/client/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyamf/remoting/client/__init__.py b/pyamf/remoting/client/__init__.py index 283b955d..5332adcc 100644 --- a/pyamf/remoting/client/__init__.py +++ b/pyamf/remoting/client/__init__.py @@ -495,9 +495,9 @@ def _getResponse(self, http_request): self.logger.debug('Response: %s', response) if remoting.APPEND_TO_GATEWAY_URL in response.headers: - self.original_url += response.headers[ + self.original_url += str(response.headers[ remoting.APPEND_TO_GATEWAY_URL - ] + ]) self._setUrl(self.original_url)