Post with user agent

main
Bob Mottram 2022-02-27 23:59:03 +00:00
parent 1fa7d63411
commit b4a64a46aa
1 changed files with 1 additions and 1 deletions

View File

@ -388,7 +388,7 @@ def post_json(http_prefix: str, domain_full: str,
post_result = \
session.post(url=inbox_url,
data=json.dumps(post_json_object),
headers=headers, timeout=timeout_sec)
headers=session_headers, timeout=timeout_sec)
except requests.Timeout as ex:
if not quiet:
print('EX: post_json timeout ' + inbox_url + ' ' +