debug upload

This commit is contained in:
Wolfgang Hottgenroth 2020-02-29 23:37:00 +01:00
parent e5967bb726
commit f3f62d5cf5
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F

View File

@ -104,6 +104,8 @@ for filename in filesToUpload:
with open(filename, 'rb') as filehandle:
files = {"file": filehandle}
print(files)
uploadResult = requests.post(uploadUrl, files=filehandle, headers=headers, verify=caBundle)
if uploadResult.status_code != 201: