-
Notifications
You must be signed in to change notification settings - Fork 44
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
feat: add a http interface to plugins #814
base: develop
Are you sure you want to change the base?
Conversation
This is only a first draft. @sbrunato wdyt ? |
Test Results 2 files - 2 2 suites - 2 27s ⏱️ - 5m 3s For more details on these errors, see this check. Results for commit 2b8f8c3. ± Comparison against base commit d0869f9. This pull request removes 391 and adds 22 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
Code Coverage (Ubuntu)
Minimum allowed coverage is Generated by 🐒 cobertura-action against 2b8f8c3 |
Code Coverage (Windows)
Minimum allowed coverage is Generated by 🐒 cobertura-action against ceaf822 |
this interface allow to transparently handle requests authentication within the Authentication plugin to lift the burden on search and download plugins. Also it centralise authentication management and allow for more complexe authentication mechanisms like refresh when required, etc.
ceaf822
to
2b8f8c3
Compare
- add ftp requests native support for http requests using format ftp:// - HttpResponse is now requests.Response - simplify auth http requests handling - sever aws download from aws auth - remove calls from requests to use HttpRequest instead - add some type hint
e947d0e
to
7289d85
Compare
7289d85
to
a77ac0b
Compare
this interface allow to transparently handle requests authentication within the Authentication plugin to lift the burden on search and download plugins.
Also it centralise authentication management and allow for more complexe authentication mechanisms like refresh when required, etc.
Your checklist for this pull request
Please review the guidelines for contributing to this repository.
Description
Please describe your pull request.
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Thank you!