mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-11-01 10:24:46 +00:00
Show code
This commit is contained in:
1 parent
4bd90ca3a4
commit
f0c61e9b3d
1 file changed
+1
-1
+1
-1
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user