RFC 6415 document also registers the well-known URI suffix "host-meta" in the Well-known URI Registry established by RFC 5785.
Web host-meta data registers the "lrdd" relation type in the Link Relation Types Registry
The server MUST support at least one protocol but MAY support both. If both protocols are supported, they MUST produce the same document.
GET /.well-known/host-meta HTTP/1.1 Host: example.com
The host-meta document SHOULD be served with the "application/xrd+xml" media type and is in XRD.
The client MAY request a JRD representation using the HTTP "Accept" request header field with a value of "application/json". The server MUST include the HTTP Response Header "Content-Type" with a value of "application/json". Any other "Content-Type" value (or lack thereof) indicates that the server does not support the JRD format.
Alternatively, the client MAY request a JRD representation by requesting the "host-meta.json" well-known document, by making a
GET /.well-known/host-meta.json HTTP/1.1 Host: example.com
<?xml version='1.0' encoding='UTF-8'?> <!-- NOTE: this host-meta end-point is a pre-alpha work in progress. Don't rely on it. --> <!-- Please follow the list at http://groups.google.com/group/webfinger --> <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0' xmlns:hm='http://host-meta.net/xrd/1.0'> <hm:Host xmlns='http://host-meta.net/xrd/1.0'>gmail.com</hm:Host> <Link rel='lrdd' template='https://profiles.google.com/_/webfinger/?q={uri}'> <Title>Resource Descriptor</Title> </Link> </XRD>
<?xml version='1.0'?> <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <Subject>acct:jwilleke@gmail.com</Subject> <Alias>http://www.google.com/profiles/jwilleke</Alias> <Link rel='http://portablecontacts.net/spec/1.0' href='http://www-opensocial.googleusercontent.com/api/people/'/> <Link rel='http://portablecontacts.net/spec/1.0#me' href='http://www-opensocial.googleusercontent.com/api/people/110925871223838855670/'/> <Link rel='http://webfinger.net/rel/profile-page' href='http://www.google.com/profiles/jwilleke' type='text/plain'/> <Link rel='http://microformats.org/profile/hcard' href='http://www.google.com/profiles/jwilleke' type='text/plain'/> <Link rel='http://gmpg.org/xfn/11' href='http://www.google.com/profiles/jwilleke' type='text/plain'/> <Link rel='http://specs.openid.net/auth/2.0/provider' href='http://www.google.com/profiles/jwilleke'/> <Link rel='describedby' href='http://www.google.com/profiles/jwilleke' type='text/plain'/> <Link rel='describedby' href='https://www.google.com/s2/webfinger/?q=jwilleke@gmail.com&fmt=foaf' type='application/rdf+xml'/> </XRD>