$68 GRAYBYTE WORDPRESS FILE MANAGER $59

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python37/lib/python3.7/site-packages/future/backports/email/mime/

HOME
Current File : /opt/alt/python37/lib/python3.7/site-packages/future/backports/email/mime//multipart.py
# Copyright (C) 2002-2006 Python Software Foundation
# Author: Barry Warsaw
# Contact: [email protected]

"""Base class for MIME multipart/* type messages."""
from __future__ import unicode_literals
from __future__ import division
from __future__ import absolute_import

__all__ = ['MIMEMultipart']

from future.backports.email.mime.base import MIMEBase


class MIMEMultipart(MIMEBase):
    """Base class for MIME multipart/* type messages."""

    def __init__(self, _subtype='mixed', boundary=None, _subparts=None,
                 **_params):
        """Creates a multipart/* type message.

        By default, creates a multipart/mixed message, with proper
        Content-Type and MIME-Version headers.

        _subtype is the subtype of the multipart content type, defaulting to
        `mixed'.

        boundary is the multipart boundary string.  By default it is
        calculated as needed.

        _subparts is a sequence of initial subparts for the payload.  It
        must be an iterable object, such as a list.  You can always
        attach new subparts to the message by using the attach() method.

        Additional parameters for the Content-Type header are taken from the
        keyword arguments (or passed into the _params argument).
        """
        MIMEBase.__init__(self, 'multipart', _subtype, **_params)

        # Initialise _payload to an empty list as the Message superclass's
        # implementation of is_multipart assumes that _payload is a list for
        # multipart messages.
        self._payload = []

        if _subparts:
            for p in _subparts:
                self.attach(p)
        if boundary:
            self.set_boundary(boundary)


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 11.10 PM
root / linksafe
0755
__pycache__
--
3 Mar 2024 11.10 PM
root / linksafe
0755
__init__.py
0 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
application.py
1.368 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
audio.py
2.749 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
base.py
0.854 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
image.py
1.862 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
message.py
1.396 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
multipart.py
1.659 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
nonmultipart.py
0.813 KB
25 Oct 2018 10.21 PM
root / linksafe
0644
text.py
1.516 KB
25 Oct 2018 10.21 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF