Describe what happens when decode=True and the payload has bogus

base64 data.
This commit is contained in:
Barry Warsaw 2003-03-10 16:13:50 +00:00
parent 21191d3e31
commit 20ebc37013
1 changed files with 4 additions and 3 deletions

View File

@ -87,9 +87,10 @@ When \code{True} and the message is not a multipart, the payload will be
decoded if this header's value is \samp{quoted-printable} or
\samp{base64}. If some other encoding is used, or
\mailheader{Content-Transfer-Encoding} header is
missing, the payload is returned as-is (undecoded). If the message is
a multipart and the \var{decode} flag is \code{True}, then \code{None} is
returned. The default for \var{decode} is \code{False}.
missing, or if the payload has bogus base64 data, the payload is
returned as-is (undecoded). If the message is a multipart and the
\var{decode} flag is \code{True}, then \code{None} is returned. The
default for \var{decode} is \code{False}.
\end{methoddesc}
\begin{methoddesc}[Message]{set_payload}{payload\optional{, charset}}