def flush_body(self) -> bool:
        """
        发送内容体
        """
        if self._body is None:
            return False
        elif isinstance(self._body, bytes):
            self.write(self._body)
            return True
        return False
def flush_body ( self ) -> bool : if self . _body is None : return False elif isinstance ( self . _body , bytes ) : self . write ( self . _body ) return True return False
发送内容体