Closed philtr closed 8 years ago
Looks good. How should it handle exceptions though?
I was considering adding a separate class to handle the sending the HTTP request and parsing the response. It could work as a drop-in replacement for the Unirest call.
How does Unirest handle exceptions?
So we keep finding little holes where this is just not working. I am closing this pull request for now. We are going to just point to a forked version of Unirest until it is updated.
I was having a dependency version conflict with RestClient, which was being used by Unirest. I swapped it out for Net::HTTP for use in our application.
I wasn't sure if this is a desired change, but I figured I'd submit a PR and see. Then I found #86 and it seems like this is an issue affecting several others as well.