diff --git a/network/basics/uri.py b/network/basics/uri.py index 2e4ca00dd10..f73802e8875 100644 --- a/network/basics/uri.py +++ b/network/basics/uri.py @@ -351,7 +351,7 @@ def main(): removes = dict(required=False, default=None, type='path'), status_code = dict(required=False, default=[200], type='list'), timeout = dict(required=False, default=30, type='int'), - headers = dict(required=False, type='dict') + headers = dict(required=False, type='dict', default={}) )) module = AnsibleModule(