Fixed AbstractDownloadMethod to support optional parameters when checking media type of data layer response.