From 1c8920f6ce5f24bc4decf5183654b9a184e928f8 Mon Sep 17 00:00:00 2001 From: Adrien Perrin Date: Thu, 25 Jul 2024 13:52:45 +0000 Subject: [PATCH] fix default auth in utils.http_request --- geospaas_processing/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geospaas_processing/utils.py b/geospaas_processing/utils.py index 5a49d00..9f4c3a3 100644 --- a/geospaas_processing/utils.py +++ b/geospaas_processing/utils.py @@ -428,7 +428,7 @@ def http_request(http_method, *args, **kwargs): inside a TrustDomainSession if authentication is provided. This makes it possible to follow redirections inside the same domain. """ - auth = kwargs.pop('auth', None) + auth = kwargs.pop('auth', (None, None)) if any(i is not None for i in auth): with TrustDomainSession() as session: session.auth = auth