Skip to content

Conversation

@kdt523
Copy link

@kdt523 kdt523 commented Oct 11, 2025

fix(http): preserve partial response on aborted streams

Capture status, statusText, headers, and buffered chunks once headers arrive.
On 'aborted' or 'error', build a partial response and pass it to AxiosError.from(...)
so err.response is populated for mid‑stream aborts, enabling better retries and debugging.

Refs: #6935
contributing for hactoberfest 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant