Home | History | Annotate | Download | only in email

Lines Matching full:boundary

96         # say a multipart message includes the boundary string somewhere in
97 # its body. We'd have to calculate the new boundary /before/ we write
188 # together, and then make sure that the boundary we've chosen isn't
195 # e.g. a non-strict parse of a message with no starting boundary.
207 boundary = msg.get_boundary()
208 if not boundary:
209 # Create a boundary that doesn't appear in any of the
212 boundary = _make_boundary(alltext)
213 msg.set_boundary(boundary)
221 # dash-boundary transport-padding CRLF
222 print >> self._fp, '--' + boundary
231 print >> self._fp, '\n--' + boundary
235 self._fp.write('\n--' + boundary + '--')
258 # block and the boundary. Sigh.
361 # Craft a random boundary. If text is given, ensure that the chosen
362 # boundary doesn't appear in the text.
364 boundary = ('=' * 15) + (_fmt % token) + '=='
366 return boundary
367 b = boundary
373 b = boundary + '.' + str(counter)