More debug

main
Bob Mottram 2019-11-10 12:00:05 +00:00
parent 1f68f22925
commit c417f18c65
1 changed files with 5 additions and 0 deletions

View File

@ -2632,7 +2632,12 @@ class PubServer(BaseHTTPRequestHandler):
# 1 = new post success
# -1 = new post failed
# 2 = new post canceled
if self.server.debug:
print('DEBUG: receiving POST')
if ' boundary=' in headers['Content-Type']:
if self.server.debug:
print('DEBUG: receiving POST headers '+headers['Content-Type'])
nickname=None
nicknameStr=path.split('/users/')[1]
if '/' in nicknameStr: