a XC?h��@s4dZdgZddlZddlmZGdd�dej�ZdS)�$Base class for MIME specializations.�MIMEBase�N)�messagec@seZdZdZdd�dd�ZdS)rrN��policycKsL|durtjj}tjj||d�d||f}|jd|fi|��d|d<dS)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. Nrz%s/%sz Content-Typez1.0z MIME-Version)�emailrZcompat32r�Message�__init__Z add_header)�selfZ _maintypeZ_subtyperZ_paramsZctype�r �4/opt/alt/python39/lib64/python3.9/email/mime/base.pyr s  zMIMEBase.__init__)�__name__� __module__� __qualname__�__doc__r r r r r rs)r�__all__Z email.policyrrrrr r r r �s