pauldub/go-heroku — pull request #2 by gwik (2014-02-10 23:36:07+00:00)
Title: fix error handling infinite loop

The error Error() method of NewApiError was creating an infinite loop.
Also the error message could never be read since the body was already at EOF when entering error handling code.