Mime data

I made it python 2.6 compatible and tested it. This works :dancers: