D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
python3.6
/
site-packages
/
future
/
backports
/
email
/
mime
/
Filename :
base.py
back
Copy
# Copyright (C) 2001-2006 Python Software Foundation # Author: Barry Warsaw # Contact: email-sig@python.org """Base class for MIME specializations.""" from __future__ import absolute_import, division, unicode_literals from future.backports.email import message __all__ = ['MIMEBase'] class MIMEBase(message.Message): """Base class for MIME specializations.""" def __init__(self, _maintype, _subtype, **_params): """This constructor adds a Content-Type: and a MIME-Version: header. The Content-Type: header is taken from the _maintype and _subtype arguments. Additional parameters for this header are taken from the keyword arguments. """ message.Message.__init__(self) ctype = '%s/%s' % (_maintype, _subtype) self.add_header('Content-Type', ctype, **_params) self['MIME-Version'] = '1.0'
Name
Size
Last Modified
Owner
Permissions
Actions
__pycache__
Dir
July 28 2023 3:19:19
root
0755
__init__.py
0
KB
January 13 2023 3:16:35
root
0644
application.py
1.368
KB
January 13 2023 3:16:35
root
0644
audio.py
2.749
KB
January 13 2023 3:16:35
root
0644
base.py
0.854
KB
January 13 2023 3:16:35
root
0644
image.py
1.862
KB
January 13 2023 3:16:35
root
0644
message.py
1.396
KB
January 13 2023 3:16:35
root
0644
multipart.py
1.659
KB
January 13 2023 3:16:35
root
0644
nonmultipart.py
0.813
KB
January 13 2023 3:16:35
root
0644
text.py
1.516
KB
January 13 2023 3:16:35
root
0644
2017 © D7net | D704T team