Apply Win32LastModifiedTime on PROPPATCH via set_modified (#68) - #70
Open
BradKollmyer wants to merge 3 commits into
Open
BradKollmyer wants to merge 3 commits into
BradKollmyer wants to merge 3 commits into
Conversation
messense
pushed a commit
that referenced
this pull request
Sep 16, 2026
…68) (#72) Related to #68. The crate docs in `src/lib.rs` already describe `X-OC-MTime` / `X-OC-CTime` and `Win32LastModifiedTime`. The README copies that "Implemented standards" section but was not updated, so GitHub and crates.io still omit those extensions. This adds the same two paragraphs to the README. Best merged after (or with) #71 and #70, which add the behavior being documented.
Owner
|
needs a rebase. |
Honor ownCloud/Nextcloud timestamp headers on PUT and MKCOL so sync clients can preserve original modification and creation times.
On platforms that cannot set birth time the cfg leaves that Err as the final expression, which clippy -D warnings rejects.
Windows Explorer sends that live property; we used to report success without changing mtime. Parse the HTTP-date, call set_modified, and still report 200 so the Windows client keeps working. Malformed values are 409 Conflict.
BradKollmyer
force-pushed
the
win32-last-modified-proppatch
branch
from
September 16, 2026 16:00
d0df238 to
77aba4c
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.
Related to #68.
Windows Explorer sends
Win32LastModifiedTimeonPROPPATCH. We used to report success without changing mtime. Parse the HTTP-date, callset_modified, and still report 200 so the Windows client keeps working. Malformed values are409 Conflict.This branch is stacked on the
X-OC-MTime/X-OC-CTimework (it reusesset_modified). The unique commit is the Win32 PROPPATCH change.