merge-requests/30/head
Bob Mottram 2024-05-09 18:20:15 +01:00
parent 25b7e1f577
commit 0ef5f670c2
1 changed files with 527 additions and 525 deletions

View File

@ -1578,11 +1578,13 @@ def _receive_new_post_process(self, post_type: str, path: str, headers: {},
# 0=this is not a new post
# 1=new post success
# -1=new post failed
# 2=new post canceled
# 2=new post cancelled
if debug:
print('DEBUG: receiving POST')
if ' boundary=' in headers['Content-Type']:
if ' boundary=' not in headers['Content-Type']:
return -1
if debug:
print('DEBUG: receiving POST headers ' +
headers['Content-Type'] +