8000 Allow using authenticator object for http by sandorkertesz · Pull Request #10 · ecmwf/multiurl · GitHub
[go: up one dir, main page]

Skip to content

Allow using authenticator object for http - #10

Merged
sandorkertesz merged 4 commits into
developfrom
feature/auth-object
Mar 13, 2024
Merged

sandorkertesz merged 4 commits into
developfrom
feature/auth-object

Conversation

@sandorkertesz
Copy link
Copy Markdown
Contributor

This PR implements the auth keyword argument (the default is auth=None) indownload() for http. It can take any authenticator objects accepted by requests as described here:

https://requests.readthedocs.io/en/latest/user/authentication/

At the moment, only a single authenticator can be specified. So when multiple URLs are used in download() the same authenticator will be applied for all.

@FussyDuck
FussyDuck commented Mar 6, 2024 •
Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@sandorkertesz
sandorkertesz merged commit e5032e4 into develop Mar 13, 2024
@sandorkertesz
sandorkertesz deleted the feature/auth-object branch March 13, 2024 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0