merge-requests/30/head
Bob Mottram 2023-06-27 19:33:48 +01:00
parent 35fab69ccd
commit 8fc6a3c0b6
1 changed files with 28 additions and 30 deletions

View File

@ -17269,6 +17269,7 @@ class PubServer(BaseHTTPRequestHandler):
print('Authorization token refused for ' +
'offers collection federation')
# show offers collection for federation
offers_json = []
if self._has_accept(calling_domain) and \
offers_collection_authorized:
if self.server.debug:
@ -17310,8 +17311,6 @@ class PubServer(BaseHTTPRequestHandler):
None, calling_domain, False)
self._write(msg)
return
self._400()
return
# wanted items collection for this instance
# this is only accessible to instance members or to
@ -17351,6 +17350,7 @@ class PubServer(BaseHTTPRequestHandler):
print('Authorization token refused for ' +
'wanted collection federation')
# show wanted collection for federation
wanted_json = []
if self._has_accept(calling_domain) and \
wanted_collection_authorized:
if self.server.debug:
@ -17392,8 +17392,6 @@ class PubServer(BaseHTTPRequestHandler):
None, calling_domain, False)
self._write(msg)
return
self._400()
return
# shared items catalog for this instance
# this is only accessible to instance members or to