Clarify json behavior with return_content key (#53316)

The docs were not clear enough about what would happen if a JSON response is read.

The actual behavior is that the `json` key is always present in such cases, regardless of this parameter, so by changing a few words, we make the docs clearer to the reader.
pull/53455/head
Jairo Llopis 6 years ago committed by Sandra McCann
parent 84ebdb6ed5
commit d29ee2c63e

@ -70,8 +70,8 @@ options:
description:
- Whether or not to return the body of the response as a "content" key in
the dictionary result.
- If the reported Content-type is "application/json", then the JSON is
additionally loaded into a key called C(json) in the dictionary results.
- Independently of this option, if the reported Content-type is "application/json", then the JSON is
always loaded into a key called C(json) in the dictionary results.
type: bool
default: no
force_basic_auth:

Loading…
Cancel
Save