mirror of
https://github.com/python/cpython.git
synced 2025-11-03 11:23:31 +00:00
Documented mime_decode_header() and mime_encode_header().
This commit is contained in:
parent
88bb808d77
commit
fcaf26e245
2 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue