def get_part_encoding(self, headers):
    transfer_encoding = headers.get('content-transfer-encoding')
    if ((transfer_encoding is not None) and (transfer_encoding in _supported_multipart_encodings)):
        return transfer_encoding
def get_part_encoding(self, headers):
    transfer_encoding = headers.get('content-transfer-encoding')
    if ((transfer_encoding is not None) and (transfer_encoding in _supported_multipart_encodings)):
        return transfer_encoding