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.
This commit is contained in:
Jairo Llopis 2019-03-06 18:40:57 +00:00 committed by Sandra McCann
parent 84ebdb6ed5
commit d29ee2c63e

View file

@ -70,8 +70,8 @@ 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. the dictionary result.
- If the reported Content-type is "application/json", then the JSON is - Independently of this option, if the reported Content-type is "application/json", then the JSON is
additionally loaded into a key called C(json) in the dictionary results. always loaded into a key called C(json) in the dictionary results.
type: bool type: bool
default: no default: no
force_basic_auth: force_basic_auth: