Document that get_content_charset() coerces its return value to lower

case.
This commit is contained in:
Barry Warsaw 2002-10-10 15:22:16 +00:00
parent c986e54733
commit 57ce1430b2

View file

@ -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