Kaydet (Commit) 57ce1430 authored tarafından Barry Warsaw's avatar Barry Warsaw

Document that get_content_charset() coerces its return value to lower

case.
üst c986e547
......@@ -443,8 +443,9 @@ have been present in the original \mailheader{Content-Type} header.
\begin{methoddesc}[Message]{get_content_charset}{\optional{failobj}}
Return the \code{charset} parameter of the \mailheader{Content-Type}
header. If there is no \mailheader{Content-Type} header, or if that
header has no \code{charset} parameter, \var{failobj} is returned.
header, coerced to lower case. If there is no
\mailheader{Content-Type} header, or if that header has no
\code{charset} parameter, \var{failobj} is returned.
Note that this method differs from \method{get_charset()} which
returns the \class{Charset} instance for the default encoding of the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment