'This is the same as accessing :attr:`stream` with the difference
that if it finds cached data from calling :meth:`get_data` first it
will create a new stream out of the cached data.
.. versionadded:: 0.9.3'

def _get_stream_for_parsing(self):

    cached_data = getattr(self, '_cached_data', None)
    if (cached_data is not None):
        return BytesIO(cached_data)
    return self.stream
