Home
last modified time | relevance | path

Searched refs:set_payload (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Lib/email/
Dencoders.py33 msg.set_payload(encdata)
45 msg.set_payload(encdata)
Dfeedparser.py254 self._cur.set_payload(EMPTYSTRING.join(lines))
320 self._cur.set_payload(EMPTYSTRING.join(lines))
425 self._cur.set_payload(EMPTYSTRING.join(preamble))
469 self._cur.set_payload(EMPTYSTRING.join(lines))
Dcontentmanager.py186 msg.set_payload(payload)
222 msg.set_payload([message])
244 msg.set_payload(data)
Dgenerator.py247 msg.set_payload(payload, charset)
Dmessage.py303 def set_payload(self, payload, charset=None): member in Message
/third_party/python/Lib/test/test_email/
Dtest_asian_codecs.py65 msg.set_payload(jhello, 'utf-8')
74 msg.set_payload(jhello, jcode)
Dtest_pickleable.py62 msg_params['created'][0].set_payload('I think I forgot the ring.')
Dtest_email.py97 msg.set_payload('This is a string payload', charset)
104 msg.set_payload(data, charset)
114 msg.set_payload(data.decode('utf-8'), charset)
123 msg.set_payload(data, charset)
129 msg.set_payload([])
135 msg.set_payload('string payload')
262 msg.set_payload('begin 666 -\n+:&5L;&\\@=V]R;&0 \n \nend\n')
267 msg.set_payload('foo')
645 msg.set_payload(x)
659 msg.set_payload(x)
[all …]
Dtest_message.py590 m.set_payload('')
595 m.set_payload(payload)
667 msg.set_payload(content)
Dtest_contentmanager.py80 msg.set_payload(obj)
92 msg.set_payload(obj)
125 m.set_payload('abc')
/third_party/python/Doc/library/
Demail.mime.rst125 :meth:`~email.message.Message.set_payload` to change the payload to encoded
159 :meth:`~email.message.Message.set_payload` to change the payload to encoded
193 :meth:`~email.message.Message.set_payload` to change the payload to encoded
246 header. This means that a subsequent ``set_payload`` call will not result
247 in an encoded payload, even if a charset is passed in the ``set_payload``
249 ``Content-Transfer-Encoding`` header, after which a ``set_payload`` call
Demail.compat32-message.rst180 :meth:`set_payload` instead.
231 .. method:: set_payload(payload, charset=None)
/third_party/python/Lib/email/mime/
Dapplication.py36 self.set_payload(_data)
Dtext.py42 self.set_payload(_text, _charset)
Dimage.py46 self.set_payload(_imagedata)
Daudio.py73 self.set_payload(_audiodata)
/third_party/protobuf/benchmarks/util/
Dgogo_data_scrubber.cc64 dataset.set_payload(i, message->SerializeAsString()); in main()
Dproto3_data_stripper.cc64 dataset.set_payload(i, message->SerializeAsString()); in main()
/third_party/python/Misc/NEWS.d/
D3.6.0b1.rst745 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
D3.5.3rc1.rst957 Don't pass str(_charset) to MIMEText.set_payload(). Patch by Claude Paroz.
/third_party/python/Lib/test/
Dtest_mailbox.py1143 message.set_payload('No newline at the end')
/third_party/python/Misc/
DHISTORY2412 email.message.Message.set_payload.
2992 A couple of other set_payload mishandlings of non-ASCII are also fixed.
2993 In addition, calling set_payload with a string argument without
4152 - Issue #18324: set_payload now correctly handles binary input. This also