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 length header not being modified if it is also compressed #37

Closed
klxu03 opened this issue Apr 6, 2023 · 1 comment
Closed

Comments

@klxu03
Copy link

klxu03 commented Apr 6, 2023

Hey Sindre! I noticed in your source code that you do not modify the content length header, even if the response was compressed and you have decompressed it.

I was wondering if there was a reason for this?

@sindresorhus
Copy link
Owner

I think that's simply an oversight.

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

No branches or pull requests

2 participants