emersion / go-webdav

A Go library for WebDAV, CalDAV and CardDAV
MIT License
317 stars 67 forks source link

Add ServePrincipal #74

Closed emersion closed 1 year ago

emersion commented 2 years ago

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 home sets properly anymore.