Add debug condition

main
Bob Mottram 2023-03-18 18:22:28 +00:00
parent 0fea60a988
commit 9c7d3c615b
1 changed files with 4 additions and 3 deletions

View File

@ -2166,8 +2166,9 @@ class PubServer(BaseHTTPRequestHandler):
self.server.postreq_busy = False self.server.postreq_busy = False
return 2 return 2
# follower synchronization requests # follower synchronization endpoint information
if self.headers.get('Collection-Synchronization'): if self.headers.get('Collection-Synchronization'):
if debug:
print('Collection-Synchronization: ' + print('Collection-Synchronization: ' +
str(self.headers['Collection-Synchronization'])) str(self.headers['Collection-Synchronization']))