Skip to content

Commit

Permalink
fix default auth in utils.http_request
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Jul 25, 2024
1 parent 44fc077 commit 1c8920f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geospaas_processing/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1c8920f

Please sign in to comment.