added mimeType to response handle of the messages