mirror of
https://github.com/tenrok/axios.git
synced 2026-06-17 19:21:29 +03:00
cd0d44825f
* fix(http): preserve response in error when stream is aborted after headers When a server sends response headers but aborts the stream before completing the body, axios now attaches the response object to the error. This allows consumers to access response metadata (status, headers) for debugging, retry logic, or user messaging. Fixes #6935 * fix(http): normalize response stream errors --------- Co-authored-by: Jay <jasonsaayman@gmail.com>