Description
HTTP client errors fall into 2 categories:
i. The connect succeeds, a non-2xx HTTP response is returned by the service.
ii. The connect does not succeed because of local HTTP client runtime issues (bad hostname, port unavailable, unsupported method).
In the later error cases a WebApplication exceptions is returned BUT no root cause exception is available.
A suggested patch is included.