mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 08:14:15 +00:00
carddav: add Discover TODO about "path" key in TXT record
This commit is contained in:
parent
5d845721d8
commit
97e0b10b4f
@ -39,6 +39,7 @@ func Discover(domain string) (string, error) {
|
|||||||
return "", fmt.Errorf("carddav: empty target in SRV record")
|
return "", fmt.Errorf("carddav: empty target in SRV record")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: perform a TXT lookup, check for a "path" key in the response
|
||||||
u := url.URL{Scheme: "https"}
|
u := url.URL{Scheme: "https"}
|
||||||
if addr.Port == 443 {
|
if addr.Port == 443 {
|
||||||
u.Host = target
|
u.Host = target
|
||||||
|
Loading…
Reference in New Issue
Block a user