mirror of https://gitlab.com/bashrc2/epicyon
Add debug condition
parent
0fea60a988
commit
9c7d3c615b
|
@ -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']))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue