3
0ÿ¿ck  ã               @   s@   d Z ddlmZmZmZ ddlmZ dgZG dd„ dejƒZ	dS )z$Base class for MIME specializations.é    )Úabsolute_importÚdivisionÚunicode_literals)ÚmessageÚMIMEBasec               @   s   e Zd ZdZdd„ ZdS )r   z$Base class for MIME specializations.c             K   s4   t jj| ƒ d||f }| jd|f|Ž d| d< dS )zýThis constructor adds a Content-Type: and a MIME-Version: header.

        The Content-Type: header is taken from the _maintype and _subtype
        arguments.  Additional parameters for this header are taken from the
        keyword arguments.
        z%s/%szContent-Typez1.0zMIME-VersionN)r   ÚMessageÚ__init__Ú
add_header)ÚselfZ	_maintypeÚ_subtypeÚ_paramsÚctype© r   úR/var/www/html/virt/lib/python3.6/site-packages/future/backports/email/mime/base.pyr      s    zMIMEBase.__init__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   r      s   N)
r   Ú
__future__r   r   r   Zfuture.backports.emailr   Ú__all__r   r   r   r   r   r   Ú<module>   s   