master
Bob Mottram 2019-08-16 21:53:35 +01:00
parent 9aa6527913
commit a7ad0c3f9b
1 changed files with 0 additions and 14 deletions

View File

@ -149,20 +149,6 @@ def webfingerMeta(httpPrefix: str,domainFull: str) -> str:
"<Link rel=\"lrdd\" type=\"application/xrd+xml\" template=\""+httpPrefix+"://"+domainFull+"/.well-known/webfinger?resource={uri}\"/>" \
"</XRD>"
"<?xml version=1.0' encoding=UTF-8'?>" \
"<XRD xmlns=http://docs.oasis-open.org/ns/xri/xrd-1.0'" \
" xmlns:hm=http://host-meta.net/xrd/1.0'>" \
"" \
"<hm:Host>"+domainFull+"</hm:Host>" \
"" \
"<Link rel=lrdd" \
" template="+httpPrefix+"://"+domainFull+"/describe?uri={uri}'>" \
" <Title>Resource Descriptor</Title>" \
" </Link>" \
"</XRD>"
def webfingerLookup(path: str,baseDir: str,port: int,debug: bool) -> {}:
"""Lookup the webfinger endpoint for an account
"""