pike.hubbe.net

[Top]
MIME
previousMIME.encode_word() MIME.guess_subtype()next

Method MIME.generate_boundary()


Method generate_boundary

string MIME.generate_boundary()

Description

This function will create a string that can be used as a separator string for multipart messages. The generated string is guaranteed not to appear in base64, quoted-printable, or x-uue encoded data. It is also unlikely to appear in normal text. This function is used by the cast method of the Message class if no boundary string is specified.


Extracted from Pike v7.3 release 11 at 2001-11-03.