implement Body.mimetype so that one can use body.decode() and body.encode() with the defined set of codecs