diff --git a/geoportal/c2cgeoportal_geoportal/views/tinyowsproxy.py b/geoportal/c2cgeoportal_geoportal/views/tinyowsproxy.py index be5aae57b7..08a1e2ab7e 100644 --- a/geoportal/c2cgeoportal_geoportal/views/tinyowsproxy.py +++ b/geoportal/c2cgeoportal_geoportal/views/tinyowsproxy.py @@ -139,7 +139,7 @@ def _get_headers(self): def _proxy_callback(self, operation, user: static.User, cache_control, *args, **kwargs): response = self._proxy(*args, **kwargs) - content = response.text + content = response.content.decode() if operation == "getcapabilities": content = filter_wfst_capabilities(