AlkantarClanX12

Your IP : 3.14.251.103


Current Path : /usr/lib64/python3.6/email/mime/__pycache__/
Upload File :
Current File : //usr/lib64/python3.6/email/mime/__pycache__/application.cpython-36.opt-1.pyc

3


 \)�@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@|dkrtd��tj|d|fd|i|��|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 subtypeZapplicationr)�	TypeErrorr�__init__Zset_payload)�self�_dataZ_subtypeZ_encoderrZ_params�r
�./usr/lib64/python3.6/email/mime/application.pyrs
zMIMEApplication.__init__)�__name__�
__module__�__qualname__�__doc__rZ
encode_base64rr
r
r
rr
sN)r�__all__ZemailrZemail.mime.nonmultipartrrr
r
r
r�<module>s