OXIESEC PANEL
- Current Dir:
/
/
opt
/
alt
/
python27
/
lib64
/
python2.7
/
email
/
mime
Server IP: 191.96.63.230
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
10/24/2023 02:37:49 PM
rwxr-xr-x
📄
__init__.py
0 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
__init__.pyc
143 bytes
10/24/2023 02:37:49 PM
rw-r--r--
📄
__init__.pyo
143 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
application.py
1.23 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
application.pyc
1.58 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
application.pyo
1.58 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
audio.py
2.62 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
audio.pyc
2.89 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
audio.pyo
2.89 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
base.py
794 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
base.pyc
1.13 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
base.pyo
1.13 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
image.py
1.72 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
image.pyc
2.04 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
image.pyo
2.04 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
message.py
1.26 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
message.pyc
1.45 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
message.pyo
1.45 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
multipart.py
1.54 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
multipart.pyc
1.67 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
multipart.pyo
1.67 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
nonmultipart.py
691 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
nonmultipart.pyc
927 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
nonmultipart.pyo
927 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
text.py
1006 bytes
02/14/2022 01:50:25 PM
rw-r--r--
📄
text.pyc
1.32 KB
02/14/2022 01:50:25 PM
rw-r--r--
📄
text.pyo
1.32 KB
02/14/2022 01:50:25 PM
rw-r--r--
Editing: application.py
Close
# Copyright (C) 2001-2006 Python Software Foundation # Author: Keith Dart # Contact: email-sig@python.org """Class representing application/* type MIME documents.""" __all__ = ["MIMEApplication"] from email import encoders from email.mime.nonmultipart import MIMENonMultipart class MIMEApplication(MIMENonMultipart): """Class for generating application/* MIME documents.""" def __init__(self, _data, _subtype='octet-stream', _encoder=encoders.encode_base64, **_params): """Create an application/* type MIME document. _data is a string containing the raw application data. _subtype is the MIME content type subtype, defaulting to 'octet-stream'. _encoder is a function which will perform the actual encoding for transport of the application data, defaulting to base64 encoding. Any additional keyword arguments are passed to the base class constructor, which turns them into parameters on the Content-Type header. """ if _subtype is None: raise TypeError('Invalid application MIME subtype') MIMENonMultipart.__init__(self, 'application', _subtype, **_params) self.set_payload(_data) _encoder(self)