Documentation

decodeBody enc str decodes str according to the scheme
specified by enc. Currently, base64 and quoted-printable are
the only two encodings supported. If you supply anything else
for enc, decodeBody returns str.