]> granicus.if.org Git - python/commitdiff
Document that get_content_charset() coerces its return value to lower
authorBarry Warsaw <barry@python.org>
Thu, 10 Oct 2002 15:22:16 +0000 (15:22 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 10 Oct 2002 15:22:16 +0000 (15:22 +0000)
case.

Doc/lib/emailmessage.tex

index bfd86647cbbdd284bd95e500f6a26501db0a3dfa..34c152db9ac8b79f228d2cd30324d788648b818d 100644 (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