added mime-type to response of upload