Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Encoding ignored on sendProxy #891

Open
JulianMar opened this issue Oct 3, 2024 · 0 comments
Open

Content Encoding ignored on sendProxy #891

JulianMar opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@JulianMar
Copy link

Environment

h3: 1.12
node: 20

Reproduction

following later

Describe the bug

Currently if the proxyRequest is used. The content-encoding is stripped. This can cause issues if there is encoded content delivered. The Browser will not know, how to decode the content.
I found this line:

if (key === "content-encoding") {

Is it on purpose? If yes, what is the purpose. Just wanting to know.

Thank you!

Additional context

No response

Logs

No response

@JulianMar JulianMar added the bug Something isn't working label Oct 3, 2024
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

No branches or pull requests

1 participant