Adding exception handling when a response is HTML
Merge pull request #1 from cbarton/handle_500_from_server

Adding exception handling when a response is HTML