Closed
Description
Extensions like GetAsync
or PostAsync
should throw if the request wasn't successful.
However, it doesn't happen. The reason seems to be that the RestResponse
instance gets the correct status (error), but doesn't get any exception set because of that. And, ThrowIfError
only checks the exception, ignoring the status.