Ensure client response is drained with onStatus hook
Issue: SPR-17473
This commit is contained in:
@@ -294,6 +294,10 @@ as the following example shows:
|
||||
----
|
||||
====
|
||||
|
||||
When `onStatus` is used, if the response is expected to have content, then the `onStatus`
|
||||
callback should consume it. If not, the content will be automatically drained to ensure
|
||||
resources are released.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user