def read(self, deserialize=False, format=None):
if deserialize:<EOL><INDENT>data, _ = self.deserialize(format=format)<EOL>return data<EOL><DEDENT>content = self._read()<EOL>if not content:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if type(content) is six.binary_type:<EOL><INDENT>content = content.decode(self.encoding)<EOL><DEDENT>return content<EOL>
Read and return the request data.

        @param[in] deserialize
            True to deserialize the resultant text using a determiend format
            or the passed format.

        @param[in] format
            A specific format to deserialize in; if provided, no detection is
            done. If not provided, the content-type header is looked at to
            determine an appropriate deserializer.