If the content type is recognized as JSON, the result will be an
object parsed from the JSON message.
If the content type isn’t recognized, the body is decoded into a
string.
If the message is empty or content_type
is None
, the returned
value is None
.