Mini Shell
�
�*}
x�i� �D � d Z dgZddlmZ ddlmZ G d� de� � ZdS )z5Class representing application/* type MIME documents.�MIMEApplication� )�encoders)�MIMENonMultipartc �. � e Zd ZdZdej fdd�d�ZdS )r z2Class for generating application/* MIME documents.zoctet-streamN)�policyc � � |�t d� � �t j | d|fd|i|�� | � |� � || � � dS )a 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.
Nz Invalid application MIME subtype�applicationr )� TypeErrorr �__init__�set_payload)�self�_data�_subtype�_encoderr �_paramss �=/opt/alt/python311/lib64/python3.11/email/mime/application.pyr zMIMEApplication.__init__ sm � � ���>�?�?�?��!�$�
�x� -� -�� -�$+� -� -� -���������������� )�__name__�
__module__�__qualname__�__doc__r �
encode_base64r � r r r r
sD � � � � � �<�<�'5�"�0��<@�� � � � � � r N)r �__all__�emailr �email.mime.nonmultipartr r r r r �<module>r sn ��
<� ;��
�� � � � � � � 4� 4� 4� 4� 4� 4�� � � � �&� � � � � r
Zerion Mini Shell 1.0