Your IP : 18.222.119.143


Current Path : /opt/alt/python312/lib64/python3.12/email/mime/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/email/mime/__pycache__/application.cpython-312.pyc

�

�Q�f)��<�dZdgZddlmZddlmZGd�de�Zy)z5Class representing application/* type MIME documents.�MIMEApplication�)�encoders)�MIMENonMultipartc�6�eZdZdZdej
fdd�d�Zy)rz2Class for generating application/* MIME documents.zoctet-streamN)�policyc��|�td��tj|d|fd|i|��|j|�||�y)aCreate 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.
        Nz Invalid application MIME subtype�applicationr)�	TypeErrorr�__init__�set_payload)�self�_data�_subtype�_encoderr�_paramss      �=/opt/alt/python312/lib64/python3.12/email/mime/application.pyrzMIMEApplication.__init__sN�� ���>�?�?��!�!�$�
�x�	-��	-�$+�	-���������)�__name__�
__module__�__qualname__�__doc__r�
encode_base64r�rrrr
s��<�'5�"�0�0��<@�rN)r�__all__�emailr�email.mime.nonmultipartrrrrr�<module>rs%��
<��
���4��&�r

?>