'The string representation of the request body.  Whenever you call
this property the request iterable is encoded and flattened.  This
can lead to unwanted behavior if you stream big data.
This behavior can be disabled by setting
:attr:`implicit_sequence_conversion` to `False`.
If `as_text` is set to `True` the return value will be a decoded
unicode string.
.. versionadded:: 0.9'

def get_data(self, as_text=False):

    self._ensure_sequence()
    rv = ''.join(self.iter_encoded())
    if as_text:
        rv = rv.decode(self.charset)
    return rv
