-
Notifications
You must be signed in to change notification settings - Fork 472
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: support auth for HttpBackend #1359
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you very much for your contribution!
seems all PR failed at |
Related to time-rs/time#551, please ignore it for now. |
support auth for HttpBackend
* add initial * add list response * add webdav list_response parser * add more response * RFR: making PUT more generic * progress implementatin * add dir_stream * make fields public * finish backend * finish * rename to DirStream * add file header * fix lint * update comments * set_capabilities * address backend feedbacks * refine lock & clean up * fix logic * fix lint: dir_stream.rs * trying to fix * Update src/services/webdav/dir_stream.rs per comment from @ClSlaid Co-authored-by: ClSlaid <[email protected]> * dav_ext_methods PROPFIND; * PROPFIND * fix formatting * improve nginx config * Install nginx full Signed-off-by: Xuanwo <[email protected]> * Fix apt install Signed-off-by: Xuanwo <[email protected]> * import module Signed-off-by: Xuanwo <[email protected]> * fix lint * nginx * build relative path * trying to fix self.root * add default depth for propfind * feat: support auth for HttpBackend (#1359) support auth for HttpBackend * feat: Add batch delete support (#1357) * Save work Signed-off-by: Xuanwo <[email protected]> * Refactor batch operater Signed-off-by: Xuanwo <[email protected]> * Add docs Signed-off-by: Xuanwo <[email protected]> * Add behavior test Signed-off-by: Xuanwo <[email protected]> * Format code Signed-off-by: Xuanwo <[email protected]> * Fix test on fs Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]> * docs: clarify about opendal user defined client (#1356) * docs: clarify opendal user defined client 1. no auto redirection 2. examples for disable it Signed-off-by: ClSlaid <[email protected]> * fix: make document test compilable Signed-off-by: ClSlaid <[email protected]> --------- Signed-off-by: ClSlaid <[email protected]> * fix(webhdfs): should prepend http:// scheme (#1354) * fix(webhdfs): should prepend http:// scheme Signed-off-by: ClSlaid <[email protected]> * refact: check scheme existence only on create Signed-off-by: ClSlaid <[email protected]> * fmt: make msrv-clippy happy Signed-off-by: ClSlaid <[email protected]> --------- Signed-off-by: ClSlaid <[email protected]> * ci: Pin time <= 0.3.17 until we decide to bump MSRV (#1361) * ci: Pin time <= 0.3.17 until we decide to bump MSRV Signed-off-by: Xuanwo <[email protected]> * Fix build Signed-off-by: Xuanwo <[email protected]> --------- Signed-off-by: Xuanwo <[email protected]> * ci: Only run service test on changing (#1363) Only run service test on changing Signed-off-by: Xuanwo <[email protected]> * add auth for propfind * fix list op * fix root path * add xml header * fix prop xml * remove TODO * skip current path while listing * handle 404 for dir * add MKCOL to fix mkdir * add MKCOL for dirs * end * create dir recursively * handle StatusCode::METHOD_NOT_ALLOWED * fix iteration * fix typo * fix dir creation * fix write --------- Signed-off-by: Xuanwo <[email protected]> Signed-off-by: ClSlaid <[email protected]> Co-authored-by: ClSlaid <[email protected]> Co-authored-by: Xuanwo <[email protected]> Co-authored-by: Young-Flash <[email protected]>
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
add Basic and Bearer authorization support for
HttpBackend
#1237