checks for wms and wfs before returning download_by_formats