Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a get_rio_env() method in http download plugin #1420

Open
alambare opened this issue Nov 29, 2024 · 1 comment
Open

create a get_rio_env() method in http download plugin #1420

alambare opened this issue Nov 29, 2024 · 1 comment
Assignees
Labels
dedl DEDL related enhancement New feature or request

Comments

@alambare
Copy link
Collaborator

This method should set the GDAL_HTTP_HEADERS with header authentication information.

Do nothing if the authentication is not set by headers.

https://gdal.org/en/latest/user/configoptions.html

@amarandon
Copy link
Collaborator

amarandon commented Dec 3, 2024

I cannot find a case where authentication by headers is needed.
What I tried so far:

  • ERA5 via cop_cds -> the code calls download, which already knows how to authenticate so no change is needed
  • FLOODDAM_CERFACS_WATER_DEPTH_RASTER via hydroweb_next -> product URL has en embedded JWT so no headers are required

@amarandon amarandon self-assigned this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dedl DEDL related enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants