Server IP : 149.255.58.128 / Your IP : 216.73.216.220
System : Linux cloud516.thundercloud.uk 5.14.0-427.26.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 17 15:51:13 EDT 2024 x86_64
PHP Version : 8.2.28
Disable Function : allow_url_include, apache_child_terminate, apache_setenv, exec, passthru, pcntl_exec, posix_kill, posix_mkfifo, posix_getpwuid, posix_setpgid, posix_setsid, posix_setuid, posix_setgid, posix_seteuid, posix_setegid, posix_uname, proc_close, proc_get_status, proc_open, proc_terminate, shell_exec, show_source, system
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Upload Files :
Command :
Current File : /usr/lib64/python3.9/email/mime//nonmultipart.py
# Copyright (C) 2002-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: email-sig@python.org
"""Base class for MIME type messages that are not multipart."""
__all__ = ['MIMENonMultipart']
from email import errors
from email.mime.base import MIMEBase
class MIMENonMultipart(MIMEBase):
"""Base class for MIME non-multipart type messages."""
def attach(self, payload):
# The public API prohibits attaching multiple subparts to MIMEBase
# derived subtypes since none of them are, by definition, of content
# type multipart/*
raise errors.MultipartConversionError(
'Cannot attach additional subparts to non-multipart/*')
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | December 12 2024 22:42:25 | 0 / root | 0755 | |
__pycache__ | -- | December 12 2024 22:42:25 | 0 / root | 0755 | |
| | | | | |
__init__.py | 0 KB | December 12 2024 10:11:37 | 0 / root | 0644 | |
application.py | 1.29 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
audio.py | 2.675 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
base.py | 0.895 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
image.py | 1.786 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
message.py | 1.286 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
multipart.py | 1.583 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
nonmultipart.py | 0.675 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |
text.py | 1.403 KB | December 03 2024 17:50:13 | 0 / root | 0644 | |