go-webdav
go-webdav copied to clipboard
A Go library for WebDAV, CalDAV and CardDAV
These are ignored at the moment.
Hello, I tried using your WebDAV client to access my Hetzner storage box through their WebDAV server (pretty sure they use Apache as their WebDAV server) First off, I noticed...
e.g. ETag: W/"xyzzy" Ref https://www.rfc-editor.org/rfc/rfc7232#section-2.3 Related: https://github.com/emersion/go-webdav/issues/117
e.g. If-Match: "xyzzy", "r2d2xxxx", "c3piozzzz" Ref https://www.rfc-editor.org/rfc/rfc7232
Todo: - [x] add support for these props on PROPFIND - [x] build the same for CardDAV MKCOL
NewPropFindResponse uses callbacks to lazily build the response. However, some props are static: they don't require any processing to generate. Add a small helper to reduce boilerplate a bit.
Just a starting point to kick off a discussion about supporting more properties Main part of the change is in https://github.com/emersion/go-webdav/pull/160/files#diff-366e46a40f6f60b4f7614eb0976bb51820364bf5ca6ccc4787eb49d7bdbef3e6L154
Let's say someone wants to implement an own webdav based server and follow the daldav, carddav or webdav pattern in this package. Currently this is not possible because of the...
WebDAV clients can set `Content-Encoding` and compress the request body.
In some cases the total size is necessary upfront to perform the upload to an external system. And even if not it is good to have it as a minimal...