Lines Matching refs:message_body
814 def _send_output(self, message_body=None):
818 A message_body may be specified, to be appended to the request.
823 # If msg and message_body are sent in a single send() call,
826 if isinstance(message_body, str):
827 msg += message_body
828 message_body = None
830 if message_body is not None:
831 #message_body was not a string (i.e. it is a file) and
833 self.send(message_body)
956 def endheaders(self, message_body=None):
960 message_body argument can be used to pass a message body
969 self._send_output(message_body)