D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
python35
/
lib
/
python3.5
/
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.""" __all__ = ['MIMEBase'] from email import message 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
December 28 2023 9:19:42
root
0755
__init__.py
0
KB
December 28 2023 9:17:21
root
0755
application.py
1.227
KB
December 28 2023 9:17:20
root
0755
audio.py
2.611
KB
December 28 2023 9:17:20
root
0755
base.py
0.775
KB
December 28 2023 9:17:20
root
0755
image.py
1.723
KB
December 28 2023 9:17:20
root
0755
message.py
1.256
KB
December 28 2023 9:17:20
root
0755
multipart.py
1.536
KB
December 28 2023 9:17:21
root
0755
nonmultipart.py
0.675
KB
December 28 2023 9:17:21
root
0755
text.py
1.373
KB
December 28 2023 9:17:21
root
0755
2017 © D7net | D704T team