mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
35fab69ccd
commit
8fc6a3c0b6
|
@ -17269,6 +17269,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('Authorization token refused for ' +
|
print('Authorization token refused for ' +
|
||||||
'offers collection federation')
|
'offers collection federation')
|
||||||
# show offers collection for federation
|
# show offers collection for federation
|
||||||
|
offers_json = []
|
||||||
if self._has_accept(calling_domain) and \
|
if self._has_accept(calling_domain) and \
|
||||||
offers_collection_authorized:
|
offers_collection_authorized:
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
@ -17310,8 +17311,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
None, calling_domain, False)
|
None, calling_domain, False)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
return
|
return
|
||||||
self._400()
|
|
||||||
return
|
|
||||||
|
|
||||||
# wanted items collection for this instance
|
# wanted items collection for this instance
|
||||||
# this is only accessible to instance members or to
|
# this is only accessible to instance members or to
|
||||||
|
@ -17351,6 +17350,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
print('Authorization token refused for ' +
|
print('Authorization token refused for ' +
|
||||||
'wanted collection federation')
|
'wanted collection federation')
|
||||||
# show wanted collection for federation
|
# show wanted collection for federation
|
||||||
|
wanted_json = []
|
||||||
if self._has_accept(calling_domain) and \
|
if self._has_accept(calling_domain) and \
|
||||||
wanted_collection_authorized:
|
wanted_collection_authorized:
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
@ -17392,8 +17392,6 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
None, calling_domain, False)
|
None, calling_domain, False)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
return
|
return
|
||||||
self._400()
|
|
||||||
return
|
|
||||||
|
|
||||||
# shared items catalog for this instance
|
# shared items catalog for this instance
|
||||||
# this is only accessible to instance members or to
|
# this is only accessible to instance members or to
|
||||||
|
|
Loading…
Reference in New Issue