mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
Patch for issue 2848, mostly by Humberto Diogenes, with a couple of
small fixes by Barry. This removes mimetools from the stdlib.
This commit is contained in:
parent
75f25f2c9a
commit
820c120059
23 changed files with 146 additions and 202 deletions
|
@ -1910,8 +1910,8 @@ def serve(port, callback=None, completer=None):
|
|||
def __init__(self, fp, seekable=1):
|
||||
Message = self.__class__
|
||||
Message.__bases__[0].__bases__[0].__init__(self, fp, seekable)
|
||||
self.encodingheader = self.getheader('content-transfer-encoding')
|
||||
self.typeheader = self.getheader('content-type')
|
||||
self.encodingheader = self.get('content-transfer-encoding')
|
||||
self.typeheader = self.get('content-type')
|
||||
self.parsetype()
|
||||
self.parseplist()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue