|
|
@ -22,19 +22,19 @@ options:
|
|
|
|
- 'When a list is provided, all ciphers are joined in order with V(:)'
|
|
|
|
- 'When a list is provided, all ciphers are joined in order with V(:)'
|
|
|
|
- See the L(OpenSSL Cipher List Format,https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html#CIPHER-LIST-FORMAT)
|
|
|
|
- See the L(OpenSSL Cipher List Format,https://www.openssl.org/docs/manmaster/man1/openssl-ciphers.html#CIPHER-LIST-FORMAT)
|
|
|
|
for more details.
|
|
|
|
for more details.
|
|
|
|
- The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions
|
|
|
|
- The available ciphers is dependent on the Python and OpenSSL/LibreSSL versions.
|
|
|
|
type: list
|
|
|
|
type: list
|
|
|
|
elements: str
|
|
|
|
elements: str
|
|
|
|
version_added: '2.14'
|
|
|
|
version_added: '2.14'
|
|
|
|
decompress:
|
|
|
|
decompress:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Whether to attempt to decompress gzip content-encoded responses
|
|
|
|
- Whether to attempt to decompress gzip content-encoded responses.
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: true
|
|
|
|
default: true
|
|
|
|
version_added: '2.14'
|
|
|
|
version_added: '2.14'
|
|
|
|
url:
|
|
|
|
url:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- HTTP or HTTPS URL in the form (http|https)://host.domain[:port]/path
|
|
|
|
- HTTP or HTTPS URL in the form (http|https)://host.domain[:port]/path.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
|
required: true
|
|
|
|
required: true
|
|
|
|
dest:
|
|
|
|
dest:
|
|
|
@ -58,17 +58,17 @@ options:
|
|
|
|
to V(json) it will take an already formatted JSON string or convert a data structure
|
|
|
|
to V(json) it will take an already formatted JSON string or convert a data structure
|
|
|
|
into JSON.
|
|
|
|
into JSON.
|
|
|
|
- If O(body_format) is set to V(form-urlencoded) it will convert a dictionary
|
|
|
|
- If O(body_format) is set to V(form-urlencoded) it will convert a dictionary
|
|
|
|
or list of tuples into an 'application/x-www-form-urlencoded' string. (Added in v2.7)
|
|
|
|
or list of tuples into an C(application/x-www-form-urlencoded) string. (Added in v2.7)
|
|
|
|
- If O(body_format) is set to V(form-multipart) it will convert a dictionary
|
|
|
|
- If O(body_format) is set to V(form-multipart) it will convert a dictionary
|
|
|
|
into 'multipart/form-multipart' body. (Added in v2.10)
|
|
|
|
into C(multipart/form-multipart) body. (Added in v2.10)
|
|
|
|
type: raw
|
|
|
|
type: raw
|
|
|
|
body_format:
|
|
|
|
body_format:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- The serialization format of the body. When set to V(json), V(form-multipart), or V(form-urlencoded), encodes
|
|
|
|
- The serialization format of the body. When set to V(json), V(form-multipart), or V(form-urlencoded), encodes
|
|
|
|
the body argument, if needed, and automatically sets the Content-Type header accordingly.
|
|
|
|
the body argument, if needed, and automatically sets the C(Content-Type) header accordingly.
|
|
|
|
- As of v2.3 it is possible to override the C(Content-Type) header, when
|
|
|
|
- As of v2.3 it is possible to override the C(Content-Type) header, when
|
|
|
|
set to V(json) or V(form-urlencoded) via the O(headers) option.
|
|
|
|
set to V(json) or V(form-urlencoded) via the O(headers) option.
|
|
|
|
- The 'Content-Type' header cannot be overridden when using V(form-multipart)
|
|
|
|
- The C(Content-Type) header cannot be overridden when using V(form-multipart).
|
|
|
|
- V(form-urlencoded) was added in v2.7.
|
|
|
|
- V(form-urlencoded) was added in v2.7.
|
|
|
|
- V(form-multipart) was added in v2.10.
|
|
|
|
- V(form-multipart) was added in v2.10.
|
|
|
|
type: str
|
|
|
|
type: str
|
|
|
@ -86,7 +86,7 @@ options:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Whether or not to return the body of the response as a "content" key in
|
|
|
|
- Whether or not to return the body of the response as a "content" key in
|
|
|
|
the dictionary result no matter it succeeded or failed.
|
|
|
|
the dictionary result no matter it succeeded or failed.
|
|
|
|
- Independently of this option, if the reported Content-type is "application/json", then the JSON is
|
|
|
|
- Independently of this option, if the reported C(Content-Type) is C(application/json), then the JSON is
|
|
|
|
always loaded into a key called RV(ignore:json) in the dictionary results.
|
|
|
|
always loaded into a key called RV(ignore:json) in the dictionary results.
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: no
|
|
|
|
default: no
|
|
|
@ -155,7 +155,7 @@ options:
|
|
|
|
client_cert:
|
|
|
|
client_cert:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- PEM formatted certificate chain file to be used for SSL client authentication.
|
|
|
|
- PEM formatted certificate chain file to be used for SSL client authentication.
|
|
|
|
- This file can also include the key as well, and if the key is included, O(client_key) is not required
|
|
|
|
- This file can also include the key as well, and if the key is included, O(client_key) is not required.
|
|
|
|
type: path
|
|
|
|
type: path
|
|
|
|
version_added: '2.4'
|
|
|
|
version_added: '2.4'
|
|
|
|
client_key:
|
|
|
|
client_key:
|
|
|
@ -166,7 +166,7 @@ options:
|
|
|
|
version_added: '2.4'
|
|
|
|
version_added: '2.4'
|
|
|
|
ca_path:
|
|
|
|
ca_path:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- PEM formatted file that contains a CA certificate to be used for validation
|
|
|
|
- PEM formatted file that contains a CA certificate to be used for validation.
|
|
|
|
type: path
|
|
|
|
type: path
|
|
|
|
version_added: '2.11'
|
|
|
|
version_added: '2.11'
|
|
|
|
src:
|
|
|
|
src:
|
|
|
@ -195,7 +195,7 @@ options:
|
|
|
|
default: true
|
|
|
|
default: true
|
|
|
|
unix_socket:
|
|
|
|
unix_socket:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Path to Unix domain socket to use for connection
|
|
|
|
- Path to Unix domain socket to use for connection.
|
|
|
|
type: path
|
|
|
|
type: path
|
|
|
|
version_added: '2.8'
|
|
|
|
version_added: '2.8'
|
|
|
|
http_agent:
|
|
|
|
http_agent:
|
|
|
@ -225,9 +225,9 @@ options:
|
|
|
|
version_added: '2.11'
|
|
|
|
version_added: '2.11'
|
|
|
|
use_netrc:
|
|
|
|
use_netrc:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Determining whether to use credentials from ``~/.netrc`` file
|
|
|
|
- Determining whether to use credentials from C(~/.netrc) file.
|
|
|
|
- By default .netrc is used with Basic authentication headers
|
|
|
|
- By default C(.netrc) is used with Basic authentication headers.
|
|
|
|
- When set to False, .netrc credentials are ignored
|
|
|
|
- When V(false), C(.netrc) credentials are ignored.
|
|
|
|
type: bool
|
|
|
|
type: bool
|
|
|
|
default: true
|
|
|
|
default: true
|
|
|
|
version_added: '2.14'
|
|
|
|
version_added: '2.14'
|
|
|
|