U
    hk                     @   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 )$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   r   c                 K   s4   t j|  d||f }| jd|f| d| d< dS )zThis 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/venv/lib/python3.8/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   