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()