go-webdav icon indicating copy to clipboard operation
go-webdav copied to clipboard

A Go library for WebDAV, CalDAV and CardDAV

Results 68 go-webdav issues
Sort by recently updated
recently updated
newest added

Catched issue same like https://github.com/emersion/go-webdav/issues/50. Understand that it's needs when server not working strictly by RFC. But some developers will try to use library for "wrong implemented" servers and get...

Refactor the PROPFIND handling to properly support all possible path layouts (from "everything at /" to "everything at different path"). This includes adding a new method the Backend interface, as...

Handle PROPFIND with depth > 0 for collection and also for calendar objects.

`handlePropfind` errors out if a PROPFIND request is sent without a body, I think. We should parse that as an `allprop` request: > A client may choose not to submit...

bug
server

I'm looking at the following code and I'm wondering whether it makes sense: https://github.com/emersion/go-webdav/blob/13fa812f94c19e869d39b3610b06bfe9f42fda35/carddav/client.go#L308-L315 From what I see `multiGet` cannot be nil, because `&multiGet.DataRequest` would throw an invalid memory address...

If there's no SRV record, maybe we should default to the input domain, as suggested in the RFC? * If an SRV record is not found, the client will need...

client

- [x] PUT - [ ] DELETE - [ ] PROPPATCH - [ ] MKCOL - [ ] COPY - [ ] MOVE

enhancement
client

This PR adds a `ServePrincipal` function and removes the assumption that `/` is the current user principal. Unfortunately as-is this PR is a regression and won't be serving the CardDAV/CalDAV...

References: https://github.com/emersion/go-webdav/issues/40 We might want to provide a separate type implementing `io/fs`. Not sure.