This look strange. You are passing a mimetype as the path. It really should be some other call here.