Added support to set media/content type for the request.