mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Merge pull request #5857 from SalesSeek/uri-allow-patch-method
Allow 'PATCH' method in 'uri' module
This commit is contained in:
commit
4a70772d2a
1 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The HTTP method of the request or response.
|
- The HTTP method of the request or response.
|
||||||
required: false
|
required: false
|
||||||
choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS" ]
|
choices: [ "GET", "POST", "PUT", "HEAD", "DELETE", "OPTIONS", "PATCH" ]
|
||||||
default: "GET"
|
default: "GET"
|
||||||
return_content:
|
return_content:
|
||||||
description:
|
description:
|
||||||
|
@ -309,7 +309,7 @@ def main():
|
||||||
user = dict(required=False, default=None),
|
user = dict(required=False, default=None),
|
||||||
password = dict(required=False, default=None),
|
password = dict(required=False, default=None),
|
||||||
body = dict(required=False, default=None),
|
body = dict(required=False, default=None),
|
||||||
method = dict(required=False, default='GET', choices=['GET', 'POST', 'PUT', 'HEAD', 'DELETE', 'OPTIONS']),
|
method = dict(required=False, default='GET', choices=['GET', 'POST', 'PUT', 'HEAD', 'DELETE', 'OPTIONS', 'PATCH']),
|
||||||
return_content = dict(required=False, default='no', type='bool'),
|
return_content = dict(required=False, default='no', type='bool'),
|
||||||
force_basic_auth = dict(required=False, default='no', type='bool'),
|
force_basic_auth = dict(required=False, default='no', type='bool'),
|
||||||
follow_redirects = dict(required=False, default='no', type='bool'),
|
follow_redirects = dict(required=False, default='no', type='bool'),
|
||||||
|
|
Loading…
Reference in a new issue