2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00
Files
axios/tests/unit/adapters
Andrii Furmanets cd0d44825f fix(http): preserve response in error when stream is aborted after headers (#10708)
* 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>
2026-04-28 15:31:36 +02:00
..