I'm testing a REST API, and it, in that context, throwing an exception for certain HTTP response codes and not for others doesn't make sense and complicates my test case design. This is related to 914314, however I would like to have complete access to the response and not have to ever catch HttpException. I realize this would have to be an optional thing.
I'm happy to submit a patch, however it's not clear to me how to best provide this optional configuration. Should it be a system property, a parameter to WebClient/WebConversation, or what?