cope with responses that aren't text/html
test online using httpbin.org