Fix service name for CalDav/CardDav endpoint discovery
This change set fixes the service names used by the endpoint discovery for CalDav and CardDav.
This commit is contained in:
@@ -19,7 +19,7 @@ import (
|
|||||||
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
||||||
// described in RFC 6352 section 11. It returns the URL to the CardDAV server.
|
// described in RFC 6352 section 11. It returns the URL to the CardDAV server.
|
||||||
func DiscoverContextURL(ctx context.Context, domain string) (string, error) {
|
func DiscoverContextURL(ctx context.Context, domain string) (string, error) {
|
||||||
return internal.DiscoverContextURL(ctx, "caldavs", domain)
|
return internal.DiscoverContextURL(ctx, "caldav", domain)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Client provides access to a remote CardDAV server.
|
// Client provides access to a remote CardDAV server.
|
||||||
|
@@ -19,7 +19,7 @@ import (
|
|||||||
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
// DiscoverContextURL performs a DNS-based CardDAV service discovery as
|
||||||
// described in RFC 6352 section 11. It returns the URL to the CardDAV server.
|
// described in RFC 6352 section 11. It returns the URL to the CardDAV server.
|
||||||
func DiscoverContextURL(ctx context.Context, domain string) (string, error) {
|
func DiscoverContextURL(ctx context.Context, domain string) (string, error) {
|
||||||
return internal.DiscoverContextURL(ctx, "carddavs", domain)
|
return internal.DiscoverContextURL(ctx, "carddav", domain)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Client provides access to a remote CardDAV server.
|
// Client provides access to a remote CardDAV server.
|
||||||
|
Reference in New Issue
Block a user