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:
parent
7e96421132
commit
f30698f65d
1 changed files with 1 additions and 1 deletions
|
@ -1013,7 +1013,7 @@ def fetch_url(module, url, data=None, headers=None, method=None,
|
||||||
resp, info = fetch_url(module,
|
resp, info = fetch_url(module,
|
||||||
"http://example.com",
|
"http://example.com",
|
||||||
data=module.jsonify(data)
|
data=module.jsonify(data)
|
||||||
header={Content-type': 'application/json'},
|
header={'Content-type': 'application/json'},
|
||||||
method="POST")
|
method="POST")
|
||||||
status_code = info["status"]
|
status_code = info["status"]
|
||||||
body = resp.read()
|
body = resp.read()
|
||||||
|
|
Loading…
Reference in a new issue