raise errors on html response
Merge pull request #125 from intercom/jo/raise-on-html-response

raise errors on html response