webdav: add a test for digest authentication - #9875
Open
pekhota wants to merge 7 commits into
Open
Conversation
pekhota
force-pushed
the
webdav-digest
branch
from
September 7, 2026 16:56
7591133 to
b6fbc87
Compare
pekhota
marked this pull request as ready for review
September 7, 2026 17:01
pekhota
force-pushed
the
webdav-digest
branch
2 times, most recently
from
September 10, 2026 13:01
68e047e to
c75b9cc
Compare
pekhota
force-pushed
the
webdav-digest
branch
from
September 11, 2026 15:25
c75b9cc to
03d2a18
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this change do?
Adds Digest authentication to the WebDAV backend.
When a request comes back 401 with a digest challenge
rclone keeps the challenge, retries signed, and signs the rest of the session.
Signing is done in a RoundTripper wrapping rclone's transport.
Supersedes #8273 and does the two things @ncw asked for in review there: detect
digest from the 401 instead of probing at startup, and keep rclone's transport
instead of building a new client.
Opening early for feedback on the approach.
Linked issue
Fixes #2110
Related: #8273
For new or changed backends
Checklist
test_allpasses for this backend and if submitting a new backend can provide a test account for the integration tester - see CONTRIBUTING.md.