carddav: add AddressBook{Query,MultiGet}.AllProp

This commit is contained in:
Simon Ser
2020-01-22 19:18:58 +01:00
parent 7e29f37bd8
commit cd5945aace
4 changed files with 27 additions and 11 deletions

View File

@@ -82,9 +82,9 @@ func newProp(name string, noValue bool) *internal.RawXMLValue {
// https://tools.ietf.org/html/rfc6352#section-10.4
type addressDataReq struct {
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:carddav address-data"`
Props []prop `xml:"prop"`
// TODO: allprop
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:carddav address-data"`
Props []prop `xml:"prop"`
Allprop *struct{} `xml:"allprop"`
}
// https://tools.ietf.org/html/rfc6352#section-10.4.2