You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
x-oc-mtime header is not being respected in tus requests #4559
owncloud/web#7630 includes the x-oc-mtime header in XHR and tus upload requests. While XHR works fine, it seems that the header has no effect for tus requests.
Steps to reproduce
Steps to reproduce the behavior:
Get Web running with current master
Upload a file that has been modified a few days ago
Expected behavior
The "modified column" should show the proper modified date.
@micbar Are you sure you have Web with current master running? The x-oc-mtime header should be available. Or does oCIS expect it to be received otherwise, maybe somehow included in Upload-Metadata?
Activity
micbar commentedon Sep 14, 2022
@JammingBen
From my POV i see no
x-oc-mtimeheader sent by the web client during tus uploads. I see a big combined header withupload metadataJammingBen commentedon Sep 14, 2022
@micbar Are you sure you have Web with current master running? The
x-oc-mtimeheader should be available. Or does oCIS expect it to be received otherwise, maybe somehow included inUpload-Metadata?micbar commentedon Sep 14, 2022
As far as I read the code, a non-tus request works with the
x-oc-mtimeheader and tus requests expect the mtime in the upload metadata.@JammingBen Happy to check that out together with you
JammingBen commentedon Sep 14, 2022
Ahh I didn't know this. Let me try it out, I'll come back to you 👍
JammingBen commentedon Sep 14, 2022
Yessss, adding
mtimein upload metadata solved it, thanks!