detect non-html reponses