Documented mime_decode_header() and mime_encode_header().

This commit is contained in:
Guido van Rossum 1997-08-14 14:13:01 +00:00
parent 88bb808d77
commit fcaf26e245
2 changed files with 16 additions and 0 deletions

View file

@ -43,6 +43,14 @@ If the \var{decode_base64} argument is provided and tests true, any
parts that are coded in the base64 encoding are decoded as well. parts that are coded in the base64 encoding are decoded as well.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{mime_decode_header}{line}
Return a decoded version of the encoded header line in \var{line}.
\end{funcdesc}
\begin{funcdesc}{mime_encode_header}{line}
Return a MIME-encoded version of the header line in \var{line}.
\end{funcdesc}
\begin{datadesc}{MAXLEN} \begin{datadesc}{MAXLEN}
By default, a part will be encoded as quoted-printable when it By default, a part will be encoded as quoted-printable when it
contains any non-ASCII characters (i.e., characters with the 8th bit contains any non-ASCII characters (i.e., characters with the 8th bit

View file

@ -43,6 +43,14 @@ If the \var{decode_base64} argument is provided and tests true, any
parts that are coded in the base64 encoding are decoded as well. parts that are coded in the base64 encoding are decoded as well.
\end{funcdesc} \end{funcdesc}
\begin{funcdesc}{mime_decode_header}{line}
Return a decoded version of the encoded header line in \var{line}.
\end{funcdesc}
\begin{funcdesc}{mime_encode_header}{line}
Return a MIME-encoded version of the header line in \var{line}.
\end{funcdesc}
\begin{datadesc}{MAXLEN} \begin{datadesc}{MAXLEN}
By default, a part will be encoded as quoted-printable when it By default, a part will be encoded as quoted-printable when it
contains any non-ASCII characters (i.e., characters with the 8th bit contains any non-ASCII characters (i.e., characters with the 8th bit