| Server IP : 85.214.239.14 / Your IP : 216.73.216.210 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/3/task/3/cwd/usr/lib/python3.11/email/__pycache__/ |
Upload File : |
�
��hO� � � � d Z ddgZddlZddlZddlZddlmZmZ ddlm Z ddlm
Z
ddlmZm
Z
dd lmZ dd
lmZ ej ZdZ ej d� � Zd
� Zdd�Zd� Zd� Zd� Z G d� d� � Z G d� de� � Z G d� de� � ZdS )z8Basic message object for the email package object model.�Message�EmailMessage� N)�BytesIO�StringIO)�utils)�errors)�Policy�compat32��charset)�decode_bz; z[ \(\)<>@,;:\\"/\[\]\?=]c �� � t | � � � d� � \ }}}|s|� � � d fS |� � � |� � � fS )N�;)�str� partition�strip)�param�a�sep�bs �$/usr/lib/python3.11/email/message.py�_splitparamr sX � �
�E�
�
�$�$�S�)�)�I�A�s�A�� ��w�w�y�y�$����7�7�9�9�a�g�g�i�i��� Tc �� � |��t |� � dk r�t |t � � r4| dz
} t j |d |d |d � � }| �d|��S |� d� � n2# t $ r% | dz
} t j |dd � � }| �d|��cY S w xY w|st � |� � r| �d
t j |� � �d�S | �d|��S | S )a~ Convenience function to format and return a key=value pair.
This will quote the value if needed or if quote is true. If value is a
three tuple (charset, language, value), it will be encoded according
to RFC2231 rules. If it contains non-ascii characters it will likewise
be encoded according to RFC2231 rules, using the utf-8 charset and
a null language.
Nr �*� � �=�asciizutf-8� z="�")
�len�
isinstance�tupler �encode_rfc2231�encode�UnicodeEncodeError� tspecials�search�quote)r �valuer* s r �_formatparamr, '