Michael DeHaan
cd97a4cb14
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00
Serge van Ginderachter
ba55f8ed01
When saving to dest, check if we get redirected, and use the new
...
location header to set the dest file name if we only provided a
target dir. Only save if dest not modified.
2013-04-10 02:03:53 +02:00
mavimo
c37d8988c2
Chnge description as list inside string
2013-03-30 20:53:28 +01:00
Michael DeHaan
e51ee83ec7
Make URI module default to 30 seconds.
2013-03-17 23:16:45 -04:00
Grant Gavares
a1d9a683a9
Add socket timeout to uri module.
...
The uri module can be configured to abort after a specified timeout if
it cannot connect to the configured uri. This prevents a uri action from
hanging indefinitely when the remote endpoint cannot be reached because
it is unavailable, there is a firewall in place etc. The default behavior
is left unchanged: timeout=None
This change also introduces a new type for module_parameters: int
Code was added to perform conversion from string -> int type in
module_common.py.
The new type was required in order to play nice with httplib2 which
refuses to accept (and convert) anything other than a numeric type for
the timeout value.
2013-03-02 17:34:23 -08:00
Daniel Hokka Zakrisson
1dadd70d9f
Remove choices=BOOLEANS as it is no longer needed
2013-02-23 22:57:36 +01:00
Daniel Hokka Zakrisson
0150f18a3b
Use argument type checking to convert to boolean
2013-02-23 19:59:52 +01:00
Michael DeHaan
9c7d70dd9e
Merge pull request #2119 from jpmens/uri_json
...
uri: load JSON for content-type: application/json
2013-02-20 05:59:38 -08:00
Jan-Piet Mens
a050c78d74
uri: load JSON for content-type: application/json
...
document
check prefix of content-type and merge dicts
amend doc
load JSON into 'json' subkey
2013-02-20 14:45:47 +01:00
Romeo Theriault
c2fdb768e5
uri doc fixes
2013-02-18 13:03:19 -10:00
Michael DeHaan
65b826a8a8
'make pep8' is now clean
2013-02-17 19:48:02 -05:00
Michael DeHaan
f4629c2bdf
Hate to do this, but URI module docs were constructing messed up RST files, so removing examples for now. Will ask someone to work on them.
2013-02-16 18:45:59 -05:00
Michael DeHaan
d9d033fa58
Tweak doc examples
2013-02-16 13:32:49 -05:00
Romeo Theriault
93baccce01
fixed the documentation so it build properly
2013-02-16 13:32:48 -05:00
Romeo Theriault
0e15b95787
moved module checking below module initialization
2013-02-16 13:32:48 -05:00
Romeo Theriault
8b458b2921
uri module
2013-02-16 13:32:48 -05:00