mirror of https://gitlab.com/bashrc2/epicyon
Add debug condition
parent
0fea60a988
commit
9c7d3c615b
|
@ -2166,10 +2166,11 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.postreq_busy = False
|
||||
return 2
|
||||
|
||||
# follower synchronization requests
|
||||
# follower synchronization endpoint information
|
||||
if self.headers.get('Collection-Synchronization'):
|
||||
print('Collection-Synchronization: ' +
|
||||
str(self.headers['Collection-Synchronization']))
|
||||
if debug:
|
||||
print('Collection-Synchronization: ' +
|
||||
str(self.headers['Collection-Synchronization']))
|
||||
|
||||
# Convert the headers needed for signature verification to dict
|
||||
headers_dict = {}
|
||||
|
|
Loading…
Reference in New Issue