HEX
Server: nginx/1.24.0
System: Linux ip-10-50-20-85 6.5.0-1022-aws #22~22.04.1-Ubuntu SMP Fri Jun 14 16:31:00 UTC 2024 x86_64
User: usefuloffices.org (1001)
PHP: 8.1.2-1ubuntu2.23
Disabled: NONE
Upload Files
File: //usr/lib/python3.10/email/__pycache__/encoders.cpython-310.pyc
o

p̦i��@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/lib/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�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
rcCsX|jdd�}|durd|d<dSz|�d�Wnty%d|d<YdSwd|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