Check for http

main
Bob Mottram 2020-09-28 15:20:36 +01:00
parent 622d62c26f
commit 68a1a710fe
1 changed files with 4 additions and 0 deletions

View File

@ -9128,6 +9128,8 @@ class PubServer(BaseHTTPRequestHandler):
"""
if self.server.defaultTimeline != 'inbox':
return
if not self._requestHTTP():
return
# make a copy of the headers
currHeaders = self.headers.items()
@ -9151,6 +9153,8 @@ class PubServer(BaseHTTPRequestHandler):
"""
if boxName != 'inbox':
return
if not self._requestHTTP():
return
self._showInbox(authorized,
callingDomain, self.path,
self.server.baseDir,