diff options
author | Brian Coca <bcoca@ansible.com> | 2015-07-10 09:50:51 -0400 |
---|---|---|
committer | Brian Coca <bcoca@ansible.com> | 2015-07-10 09:50:51 -0400 |
commit | 11c6e6a3f5f3a1f506ad79f5a9dcc65ed5af034f (patch) | |
tree | a3366b73f2ac4eeb91e757f00137e47b254ca1fb | |
parent | 350063532e3ca18b3a59678fe85a7acec007d592 (diff) | |
parent | f190f98b06a00abc3a3ba0432a52ec44a1924f86 (diff) | |
download | ansible-modules-core-11c6e6a3f5f3a1f506ad79f5a9dcc65ed5af034f.tar.gz |
Merge pull request #1179 from hver/devel
Allow custom methods in uri module
-rw-r--r-- | network/basics/uri.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/network/basics/uri.py b/network/basics/uri.py index 8095eaff..d7e5eee4 100644 --- a/network/basics/uri.py +++ b/network/basics/uri.py @@ -75,7 +75,7 @@ options: description: - The HTTP method of the request or response. required: false - choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS", "PATCH" ] + choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS", "PATCH", "TRACE", "CONNECT", "REFRESH" ] default: "GET" return_content: description: @@ -367,7 +367,7 @@ def main(): password = dict(required=False, default=None), body = dict(required=False, default=None), body_format = dict(required=False, default='raw', choices=['raw', 'json']), - method = dict(required=False, default='GET', choices=['GET', 'POST', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'PATCH']), + method = dict(required=False, default='GET', choices=['GET', 'POST', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'PATCH', 'TRACE', 'CONNECT', 'REFRESH']), return_content = dict(required=False, default='no', type='bool'), force_basic_auth = dict(required=False, default='no', type='bool'), follow_redirects = dict(required=False, default='safe', choices=['all', 'safe', 'none', 'yes', 'no']), |