Implemented dynamic mime-type response header