1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix typo in urls.py (#39048)

This commit is contained in:
nekottyo 2018-04-20 16:04:18 +09:00 committed by Martin Krizek
parent 7e96421132
commit f30698f65d

View file

@ -1013,7 +1013,7 @@ def fetch_url(module, url, data=None, headers=None, method=None,
resp, info = fetch_url(module,
"http://example.com",
data=module.jsonify(data)
header={Content-type': 'application/json'},
header={'Content-type': 'application/json'},
method="POST")
status_code = info["status"]
body = resp.read()