Skip to content

Conversation

@WeidiDeng
Copy link
Member

Fix 6992.

@francislavoie francislavoie requested a review from dunglas May 20, 2025 04:55
@mholt
Copy link
Member

mholt commented Aug 22, 2025

@dunglas Is this something you'd like to take a look at? You're probably busy getting ready for the big API Platform Conference -- so no rush, but maybe afterward I'm curious to get your thoughts!

}

// no new response body and there is some in the original response
// TODO: what if the new response doesn't have a body by design?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To answer this TODO, then if there's no body when it gets here, it just returns nil, right? That seems perfectly fine, same behaviour as if there were a body with no error, basically, unless something up the chain expects something to be copying, but that shouldn't be the case.

Copy link
Member

@francislavoie francislavoie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this makes sense to me.

@francislavoie francislavoie added the bug 🐞 Something isn't working label Oct 21, 2025
@francislavoie francislavoie enabled auto-merge (squash) October 21, 2025 04:43
@francislavoie francislavoie added this to the v2.11.0 milestone Oct 21, 2025
@francislavoie francislavoie merged commit a7885aa into master Oct 21, 2025
26 checks passed
@francislavoie francislavoie deleted the intercept-dup-headers branch October 21, 2025 04:48
@github-actions github-actions bot mentioned this pull request Dec 3, 2025
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐞 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

intercept causing requests to be handled twice

3 participants