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

Add HTTP backend #11

Merged
merged 4 commits into from
Dec 6, 2023
Merged

Add HTTP backend #11

merged 4 commits into from
Dec 6, 2023

Conversation

kreczko
Copy link
Contributor

@kreczko kreczko commented Dec 6, 2023

This PR adds a new backend for HTTP.
The idea is that a web service can provide the checksum retrieval as long as it is of the form

@router.get("/checksum/{checksum_type}")
def checksum(path: str, checksum_type: str) -> PlainTextResponse:

--→ the path is taken as a parameter and the checksum type part of the URL.
Server URL and base path can be configured via the HttpSettings.

@kreczko kreczko merged commit 82ec83f into main Dec 6, 2023
1 check failed
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.

1 participant