Show code

This commit is contained in:
bashrc committed 2020-02-19 14:16:34 +00:00
1 parent 4bd90ca3a4
commit f0c61e9b3d
1 file changed
+1 -1
+1 -1
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))