go-webdav icon indicating copy to clipboard operation
go-webdav copied to clipboard

carddav: consider falling back to input domain in Discover

Open emersion opened this issue 3 years ago • 0 comments
trafficstars

If there's no SRV record, maybe we should default to the input domain, as suggested in the RFC?

   *  If an SRV record is not found, the client will need to prompt
      the user to enter the FQDN and port number information
      directly or use some other heuristic, for example, using the
      extracted "domain" as the FQDN and default HTTPS or HTTP port
      numbers.

Or at least return a fixed error value which can be handled by the user.

emersion avatar May 25 '22 12:05 emersion