Accept byte[] instead of string so we can support other MIME types