Skip to content
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

Add fileid and etag to MKCOL webdav response #4769

Open
glpatcern opened this issue Jul 17, 2024 · 0 comments
Open

Add fileid and etag to MKCOL webdav response #4769

glpatcern opened this issue Jul 17, 2024 · 0 comments

Comments

@glpatcern
Copy link
Member

glpatcern commented Jul 17, 2024

We may need to add something like:

w.Header().Set(HeaderOCFileID, resourceid.OwnCloudResourceIDWrap(newInfo.Id))
w.Header().Set(HeaderOCETag, newInfo.Etag)

To internal/http/services/owncloud/ocdav/mkcol.go in order to "comply" to Reva edge as in #4767

This would require some other change in order to avoid an extra Stat call

@glpatcern glpatcern changed the title Port #4767 to master Add fileid and etag to MKCOL webdav response Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant