| Server IP : 43.141.49.119 / Your IP : 113.219.202.141 Web Server : Apache System : Linux VM-8-5-opencloudos 6.6.34-9.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 19 19:35:45 CST 2024 x86_64 User : www ( 1000) PHP Version : 8.1.27 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.11/email/__pycache__/ |
Upload File : |
�
��eO� � � � 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/lib64/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, '