Lines Matching refs:payload

98     headers and a payload.  It may optionally have an envelope header
100 multipart or a message/rfc822), then the payload is a list of Message
158 def attach(self, payload):
159 """Add the given payload to the current payload.
161 The current payload will always be a list of objects after this method
162 is called. If you want to set the payload to a scalar object, use
166 self._payload = [payload]
168 self._payload.append(payload)
171 """Return a reference to the payload.
173 The payload will either be a list object or a string. If you mutate
174 the list object, you modify the message's payload in place. Optional
175 i returns that index into the payload.
177 Optional decode is a flag indicating whether the payload should be
181 When True and the message is not a multipart, the payload will be
184 payload has bogus data (i.e. bogus base64 or uuencoded data), the
185 payload is returned as-is.
191 payload = self._payload
195 payload = self._payload[i]
201 return utils._qdecode(payload)
204 return utils._bdecode(payload)
207 return payload
211 uu.decode(StringIO(payload+'\n'), sfp, quiet=True)
212 payload = sfp.getvalue()
215 return payload
218 return payload
220 def set_payload(self, payload, charset=None):
221 """Set the payload to the given value.
226 self._payload = payload
231 """Set the charset of the payload to a given character set.
276 """Return the Charset instance associated with the message's payload.
676 """Return the filename associated with the payload if present.
692 """Return the boundary associated with the payload if present.
785 payload.