add test case for urls whose content-type is not text/html