If I was writing functions to hang on the hooks, and I didn't know much else about it, I think I would expect the success and failure functions to be passed similar data. But it does make sense to have the whole HTTP response in there for diagnosis.

I've voted for the solution I prefer with my code, but if the consensus is to restore the other way, I'm cool with doing that.