From f30698f65d971a2a6f7b87541a911e2be5e663c6 Mon Sep 17 00:00:00 2001 From: nekottyo Date: Fri, 20 Apr 2018 16:04:18 +0900 Subject: [PATCH] Fix typo in urls.py (#39048) --- lib/ansible/module_utils/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ansible/module_utils/urls.py b/lib/ansible/module_utils/urls.py index c3d8ae9b9fc..46e1e2d8913 100644 --- a/lib/ansible/module_utils/urls.py +++ b/lib/ansible/module_utils/urls.py @@ -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()