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)