Show code

main
Bob Mottram 2020-02-19 14:16:34 +00:00
parent 4bd90ca3a4
commit f0c61e9b3d
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ def postJsonString(session,postJsonStr: str, \
# return True
if postResult.status_code>=400 and postResult.status_code<=405 and \
postResult.status_code!=404:
print('WARN: >>> Post to '+inboxUrl+' is unauthorized <<<')
print('WARN: >>> Post to '+inboxUrl+' is unauthorized. Code '+str(postResult.status_code)+' <<<')
return False,True
else:
print('WARN: Failed to post to '+inboxUrl+' with headers '+str(headers))