AlkantarClanX12

Your IP : 18.217.98.175


Current Path : /opt/alt/python39/lib64/python3.9/email/mime/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/email/mime/__pycache__/application.cpython-39.opt-1.pyc

a

R�f)�@s6dZdgZddlmZddlmZGdd�de�ZdS)z5Class representing application/* type MIME documents.�MIMEApplication�)�encoders)�MIMENonMultipartc@s&eZdZdZdejfdd�dd�ZdS)rz2Class for generating application/* MIME documents.zoctet-streamN)�policycKs@|durtd��tj|d|fd|i|��|�|�||�dS)aCreate 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.
        Nz Invalid application MIME subtypeZapplicationr)�	TypeErrorr�__init__Zset_payload)�self�_dataZ_subtypeZ_encoderrZ_params�r
�;/opt/alt/python39/lib64/python3.9/email/mime/application.pyrs�
zMIMEApplication.__init__)�__name__�
__module__�__qualname__�__doc__rZ
encode_base64rr
r
r
rr
s��N)r�__all__ZemailrZemail.mime.nonmultipartrrr
r
r
r�<module>s