support for html and xbrl downloads