Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
57ce1430
Commit
57ce1430
authored
Oct 10, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document that get_content_charset() coerces its return value to lower
case.
parent
c986e547
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Doc/lib/emailmessage.tex
Doc/lib/emailmessage.tex
+3
-2
No files found.
Doc/lib/emailmessage.tex
View file @
57ce1430
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment