Closed steveej closed 5 years ago
@steveeJ does this close #63 or is it a prerequisite for that? I didn't see the HTTP status check here.
does this close #63 or is it a prerequisite for that? I didn't see the HTTP status check here.
TL;DR: It does now, thanks for pointing this out :smile:
I thought it already did because I was able to trigger an error when I cross tested the changes from cincinnati, but I must've made a mistake while testing it
This change is motivated by improved status error handling. Before this change even error codes would be treated as success and the body would contain the HTML formatted error message passed through to the caller. Instead of reimplementing proper error handling here we can make use of the reqwest library which already does it.
Closes #63 Progress on #44