AlkantarClanX12

Your IP : 3.144.41.200


Current Path : /proc/self/root/opt/alt/python35/lib64/python3.5/email/mime/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python35/lib64/python3.5/email/mime/__pycache__/application.cpython-35.pyc



��Yf��@sIdZdgZddlmZddlmZGdd�de�ZdS)z5Class representing application/* type MIME documents.�MIMEApplication�)�encoders)�MIMENonMultipartc@s+eZdZdZdejdd�ZdS)rz2Class for generating application/* MIME documents.zoctet-streamcKsI|dkrtd��tj|d||�|j|�||�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 subtypeZapplication)�	TypeErrorr�__init__Zset_payload)�self�_dataZ_subtypeZ_encoderZ_params�r	�;/opt/alt/python35/lib64/python3.5/email/mime/application.pyrs

zMIMEApplication.__init__N)�__name__�
__module__�__qualname__�__doc__rZ
encode_base64rr	r	r	r
r
sN)r�__all__ZemailrZemail.mime.nonmultipartrrr	r	r	r
�<module>s