$76 GRAYBYTE WORDPRESS FILE MANAGER $21

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 88.222.222.9 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python311/lib64/python3.11/email/mime/

HOME
Current File : /opt/alt/python311/lib64/python3.11/email/mime//application.py
# 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, *, policy=None, **_params):
        """Create an application/* type MIME document.

        _data contains the bytes for 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, policy=policy,
                                  **_params)
        self.set_payload(_data)
        _encoder(self)

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
5 Sep 2025 9.30 AM
root / 996
0755
__pycache__
--
5 Sep 2025 9.30 AM
root / 996
0755
__init__.py
0 KB
23 Jun 2025 3.47 PM
root / 996
0644
application.py
1.29 KB
3 Jun 2025 6.38 PM
root / 996
0644
audio.py
3.021 KB
3 Jun 2025 6.38 PM
root / 996
0644
base.py
0.893 KB
3 Jun 2025 6.38 PM
root / 996
0644
image.py
3.639 KB
3 Jun 2025 6.38 PM
root / 996
0644
message.py
1.284 KB
3 Jun 2025 6.38 PM
root / 996
0644
multipart.py
1.581 KB
3 Jun 2025 6.38 PM
root / 996
0644
nonmultipart.py
0.673 KB
3 Jun 2025 6.38 PM
root / 996
0644
text.py
1.401 KB
3 Jun 2025 6.38 PM
root / 996
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF