Michael DeHaan
391fb98ee2
Allow modules to be categorized, and also sort them when generating the documentation.
2013-04-28 15:03:45 -04:00
Serge van Ginderachter
5c0daf9e0a
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
00a94024f4
Chnge description as list inside string
2013-03-30 20:53:28 +01:00
Michael DeHaan
c3e625e6f0
Make URI module default to 30 seconds.
2013-03-17 23:16:45 -04:00
Grant Gavares
cd51c7f234
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
578ec127fb
Remove choices=BOOLEANS as it is no longer needed
2013-02-23 22:57:36 +01:00
Daniel Hokka Zakrisson
df798d0688
Use argument type checking to convert to boolean
2013-02-23 19:59:52 +01:00
Michael DeHaan
7a7d02073a
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
b448cc8eff
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
1c91917ed5
uri doc fixes
2013-02-18 13:03:19 -10:00
Michael DeHaan
8097fd18a2
'make pep8' is now clean
2013-02-17 19:48:02 -05:00
Michael DeHaan
c000bd846b
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
df63f60b63
Tweak doc examples
2013-02-16 13:32:49 -05:00
Romeo Theriault
1232e498c4
fixed the documentation so it build properly
2013-02-16 13:32:48 -05:00
Romeo Theriault
2ecf3f9b94
moved module checking below module initialization
2013-02-16 13:32:48 -05:00
Romeo Theriault
27145fab7f
uri module
2013-02-16 13:32:48 -05:00