carddav: add displayname and addressbook-description to server
This commit is contained in:
@@ -303,6 +303,7 @@ type GetLastModified struct {
|
||||
|
||||
var (
|
||||
ResourceTypeName = xml.Name{"DAV:", "resourcetype"}
|
||||
DisplayNameName = xml.Name{"DAV:", "displayname"}
|
||||
GetContentLengthName = xml.Name{"DAV:", "getcontentlength"}
|
||||
GetContentTypeName = xml.Name{"DAV:", "getcontenttype"}
|
||||
GetLastModifiedName = xml.Name{"DAV:", "getlastmodified"}
|
||||
@@ -314,3 +315,9 @@ type Error struct {
|
||||
XMLName xml.Name `xml:"DAV: error"`
|
||||
Raw []RawXMLValue `xml:",any"`
|
||||
}
|
||||
|
||||
// https://tools.ietf.org/html/rfc4918#section-15.2
|
||||
type DisplayName struct {
|
||||
XMLName xml.Name `xml:"DAV: displayname"`
|
||||
Name string `xml:",chardata"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user