Make URI module default to 30 seconds.
This commit is contained in:
parent
02b1b4ff6e
commit
e51ee83ec7
1 changed files with 2 additions and 2 deletions
4
uri
4
uri
|
@ -107,7 +107,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- The socket level timeout in seconds
|
- The socket level timeout in seconds
|
||||||
required: false
|
required: false
|
||||||
default: no timeout
|
default: 30
|
||||||
HEADER_:
|
HEADER_:
|
||||||
description: Any parameter starting with "HEADER_" is a sent with your request as a header. For example, HEADER_Content-Type="application/json" would send the header "Content-Type" along with your request with a value of "application/json".
|
description: Any parameter starting with "HEADER_" is a sent with your request as a header. For example, HEADER_Content-Type="application/json" would send the header "Content-Type" along with your request with a value of "application/json".
|
||||||
required: false
|
required: false
|
||||||
|
@ -278,7 +278,7 @@ def main():
|
||||||
creates = dict(required=False, default=None),
|
creates = dict(required=False, default=None),
|
||||||
removes = dict(required=False, default=None),
|
removes = dict(required=False, default=None),
|
||||||
status_code = dict(required=False, default="200"),
|
status_code = dict(required=False, default="200"),
|
||||||
timeout = dict(required=False, default=None, type='int'),
|
timeout = dict(required=False, default=30, type='int'),
|
||||||
),
|
),
|
||||||
check_invalid_arguments=False,
|
check_invalid_arguments=False,
|
||||||
add_file_common_args=True
|
add_file_common_args=True
|
||||||
|
|
Loading…
Add table
Reference in a new issue