mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
#2622 Import errors in email.message, from a py2app standalone application.
Patch by Mads Kiilerich, Reviewed by Barry Warsaw.
This commit is contained in:
parent
c91cbb948a
commit
74b8d333b7
9 changed files with 21 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
|||
"""Manage HTTP Response Headers
|
||||
|
||||
Much of this module is red-handedly pilfered from email.Message in the stdlib,
|
||||
Much of this module is red-handedly pilfered from email.message in the stdlib,
|
||||
so portions are Copyright (C) 2001,2002 Python Software Foundation, and were
|
||||
written by Barry Warsaw.
|
||||
"""
|
||||
|
@ -174,7 +174,7 @@ class Headers:
|
|||
|
||||
h.add_header('content-disposition', 'attachment', filename='bud.gif')
|
||||
|
||||
Note that unlike the corresponding 'email.Message' method, this does
|
||||
Note that unlike the corresponding 'email.message' method, this does
|
||||
*not* handle '(charset, language, value)' tuples: all values must be
|
||||
strings or None.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue