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

Allow to provide HTTP headers #239

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vprivat-ads
Copy link
Contributor

@vprivat-ads vprivat-ads commented Dec 2, 2024

I need to provide an API key to my STAC catalogue in order to be able to validate it.

This PR adds support to stac-validator to provide as many HTTP headers as needed with a new option --header that can be provided multiple times on the CLI.

@jonhealy1
Copy link
Collaborator

I think a pre-commit run --all-files would fix the error

@vprivat-ads vprivat-ads marked this pull request as draft December 2, 2024 17:08
@vprivat-ads vprivat-ads force-pushed the http_headers branch 6 times, most recently from b3d5202 to ef2672c Compare December 13, 2024 15:37
@vprivat-ads vprivat-ads marked this pull request as ready for review December 13, 2024 15:38
@vprivat-ads vprivat-ads force-pushed the http_headers branch 7 times, most recently from d231810 to 2bd85bb Compare December 13, 2024 15:59
@vprivat-ads
Copy link
Contributor Author

Hello @jonhealy1 the PR is ready for review :)

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