Description
The PlatformHttpException class exposes the incoming HttpResponseMessage, which is problematic in relation to disposable objects.
At the very least, this property should be removed or guarded in some way. In a bigger picture refactor, perhaps the whole CreateAsync methodology should be reconsidered as well. 🤷
Description
The
PlatformHttpExceptionclass exposes the incomingHttpResponseMessage, which is problematic in relation to disposable objects.At the very least, this property should be removed or guarded in some way. In a bigger picture refactor, perhaps the whole
CreateAsyncmethodology should be reconsidered as well. 🤷