don't try to read response when content type is not html