Skip to content

fix(backport 4.x): reorder handling of Response replies#5629

Merged
Eomm merged 1 commit into4.xfrom
backport-5612-to-4.x
Aug 17, 2024
Merged

fix(backport 4.x): reorder handling of Response replies#5629
Eomm merged 1 commit into4.xfrom
backport-5612-to-4.x

Conversation

@github-actions
Copy link

Backport 3ececdd from #5612.

@climba03003 climba03003 changed the title [Backport 4.x] fix: reorder handling of Response replies fix(backport 4.x): reorder handling of Response replies Aug 16, 2024
We must add Response.headers before proceeding, otherwise early
returns (ie: 204) will miss them.

We can also remove special handling of ReadableStream: since the
Response usage is fully finished, we can continue with Response.body
as the payload and the possible types 'null' or 'ReadableStream' will
be handled by existing cases.

Signed-off-by: Gustavo Sverzut Barbieri <barbieri@profusion.mobi>
@climba03003 climba03003 force-pushed the backport-5612-to-4.x branch from b2ae6e5 to ed25fd7 Compare August 16, 2024 04:38
@Eomm Eomm merged commit 22affe7 into 4.x Aug 17, 2024
@Eomm Eomm deleted the backport-5612-to-4.x branch August 17, 2024 12:49
@github-actions
Copy link
Author

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants