fuel/core — pull request #804 by unforeseen (2012-01-31 09:49:28+00:00)
Title: Curl now responds with something useful if curl succeeds but gets >=400 ...

...HTTP status

If curl performs correctly but gets, for example, a 401 from the server, there was no way of getting what went wrong just that 'something' went wrong.

If curl performs correctly, it now sets the error message and number when throwing the exception to the request body and http status respectively.

I hope this is the right implementation! It shouldn't break other people's set ups as it just adds more information.

Rob McCann