diff options
author | Guido van Rossum <guido@python.org> | 1995-08-29 19:25:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-08-29 19:25:11 (GMT) |
commit | 4324536644fd24724ec7ab339c00bb0204901d89 (patch) | |
tree | 12f38eef43caa09faf830d47bead03d113d95461 | |
parent | a5cf179f028f0a6f69aca873f18551a60d7dbc8c (diff) | |
download | cpython-4324536644fd24724ec7ab339c00bb0204901d89.zip cpython-4324536644fd24724ec7ab339c00bb0204901d89.tar.gz cpython-4324536644fd24724ec7ab339c00bb0204901d89.tar.bz2 |
forget previous change (content-encoding)
-rw-r--r-- | Lib/mimetools.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/mimetools.py b/Lib/mimetools.py index 06c3828..71d0087 100644 --- a/Lib/mimetools.py +++ b/Lib/mimetools.py @@ -15,8 +15,7 @@ class Message(rfc822.Message): def __init__(self, fp, seekable = 1): rfc822.Message.__init__(self, fp, seekable) self.encodingheader = \ - self.getheader('content-transfer-encoding') or \ - self.getheader('content-encoding') + self.getheader('content-transfer-encoding') self.typeheader = \ self.getheader('content-type') self.parsetype() |