Alternative check for http

merge-requests/30/head
Bob Mottram 2021-08-31 20:19:21 +01:00
parent d2b5b20307
commit 131d8b6625
1 changed files with 2 additions and 0 deletions

View File

@ -10270,6 +10270,8 @@ class PubServer(BaseHTTPRequestHandler):
""" """
if debug: if debug:
print('Instance actor requested by ' + callingDomain) print('Instance actor requested by ' + callingDomain)
if self._requestHTTP():
return False
actorJson = personLookup(domain, path, baseDir) actorJson = personLookup(domain, path, baseDir)
if not actorJson: if not actorJson:
print('ERROR: no instance actor found') print('ERROR: no instance actor found')