HEX
Server: Apache
System: Linux br34.hostgator.com.br 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64
User: chiko513 (1020)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //usr/libexec/oracle-cloud-agent/plugins/osms/email/encoders.pyc
a

���d��@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)�	quotetabs� s=20)�
_encodestring�replace)�s�enc�r�&/usr/lib64/python3.9/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�orig�encdatarrrrs
rcCs*|jdd�}t|�}|�|�d|d<dS)zvEncode the message's payload in quoted-printable.

    Also, add an appropriate Content-Transfer-Encoding header.
    Trzquoted-printablerN)rrrrrrrr&s
rcCsV|jdd�}|dur d|d<dSz|�d�WntyHd|d<Yn
0d|d<dS)z9Set the Content-Transfer-Encoding header to 7bit or 8bit.TrN�7bitrr�8bit)rr�UnicodeError)rrrrrr2srcCsdS)zDo nothing.Nr)rrrrrDsrN)
�__doc__�__all__rrr�quoprirr
rrrrrrrrr�<module>s