def get_body_encoding(self):
        assert self.body_encoding <> SHORTEST
        if self.body_encoding == QP:
            return 'quoted-printable'
        elif self.body_encoding == BASE64:
            return 'base64'
        else:
            return encode_7or8bit
Return the content-transfer-encoding used for body encoding.
dataset/ETHPy150Open babble/babble/include/jython/Lib/email/charset.py/Charset.get_body_encoding