From d480c8b04e55bda0eff8c8a1d841f29816fb0c2d Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Wed, 24 Jun 2020 16:09:20 +0200 Subject: [PATCH] read cookies from server before handling of response status --- src/caosdb/connection/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/caosdb/connection/connection.py b/src/caosdb/connection/connection.py index d21f8b0c..f818d6a0 100644 --- a/src/caosdb/connection/connection.py +++ b/src/caosdb/connection/connection.py @@ -604,7 +604,7 @@ class _Connection(object): # pylint: disable=useless-object-inheritance body=body, **kwargs) _LOGGER.debug("response: %s %s", str(http_response.status), str(http_response.getheaders())) - _handle_response_status(http_response) self._authenticator.on_response(http_response) + _handle_response_status(http_response) return http_response -- GitLab