Your IP : 3.144.91.130


Current Path : /opt/alt/python310/lib64/python3.10/email/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/email/__pycache__/encoders.cpython-310.opt-1.pyc

o

6��f��@sPdZgd�ZddlmZddlmZdd�Zdd�Z	d	d
�Z
dd�Zd
d�ZdS)z Encodings and related functions.)�encode_7or8bit�
encode_base64�encode_noop�
encode_quopri�)�encodebytes)�encodestringcCst|dd�}|�dd�S)NT)Z	quotetabs� s=20)�
_encodestring�replace)�s�enc�r
�5/opt/alt/python310/lib64/python3.10/email/encoders.py�_qencodesrcCs0|jdd�}tt|�d�}|�|�d|d<dS)zlEncode the message's payload in Base64.

    Also, add an appropriate Content-Transfer-Encoding header.
    T��decode�ascii�base64�Content-Transfer-EncodingN)�get_payload�str�_bencode�set_payload��msg�origZencdatar
r
rrs
rcCs*|jdd�}t|�}|�|�d|d<dS)zvEncode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
    Trzquoted-printablerN)rrrrr
r
rr&s
rcCsX|jdd�}|durd|d<dSz|�d�Wnty%d|d<YdSwd|d<dS)z9Set the Content-Transfer-Encoding header to 7bit or 8bit.TrNZ7bitrrZ8bit)rr�UnicodeError)rrr
r
rr2s�rcCsdS)zDo nothing.Nr
)rr
r
rrDsrN)
�__doc__�__all__rrr�quoprirr	rrrrrr
r
r
r�<module>s

?>