Rocket.Chat.Apps-engine icon indicating copy to clipboard operation
Rocket.Chat.Apps-engine copied to clipboard

[BUG] IHttpResponse always returns statusCode 200

Open cuonghuunguyen opened this issue 4 years ago • 0 comments
trafficstars

Description

When requesting to the outer web by IHttp, even though if there are some errors, the HTTP methods will never throw an exception or return an IHttpResponse with an error code (always 200). This makes error handling become impossible.

Expectation

Error code or error status code is returned on HTTP erroring

cuonghuunguyen avatar Jan 11 '21 06:01 cuonghuunguyen