code: def payload(self, value):
          
          if isinstance(value, tuple):
              content_type, payload = value
              self.content_type = content_type
              self._payload = payload
          else:
              self._payload = value
docs: Sets the payload of the message and eventually the Content-Type
  
          :param value: the payload