Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 57ce143

Browse files
committed
Document that get_content_charset() coerces its return value to lower
case.
1 parent c986e54 commit 57ce143

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Doc/lib/emailmessage.tex

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,8 +443,9 @@
443443

444444
\begin{methoddesc}[Message]{get_content_charset}{\optional{failobj}}
445445
Return the \code{charset} parameter of the \mailheader{Content-Type}
446-
header. If there is no \mailheader{Content-Type} header, or if that
447-
header has no \code{charset} parameter, \var{failobj} is returned.
446+
header, coerced to lower case. If there is no
447+
\mailheader{Content-Type} header, or if that header has no
448+
\code{charset} parameter, \var{failobj} is returned.
448449

449450
Note that this method differs from \method{get_charset()} which
450451
returns the \class{Charset} instance for the default encoding of the

0 commit comments

Comments
 (0)