]> granicus.if.org Git - python/commitdiff
Describe what happens when decode=True and the payload has bogus
authorBarry Warsaw <barry@python.org>
Mon, 10 Mar 2003 16:13:50 +0000 (16:13 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 10 Mar 2003 16:13:50 +0000 (16:13 +0000)
base64 data.

Doc/lib/emailmessage.tex

index 34c152db9ac8b79f228d2cd30324d788648b818d..61dc74b255a4b29c6b34761e00cd2a904bdcd180 100644 (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}}