Skip to content

fix: invalid content length error for compressed requests#390

Open
cesarfd wants to merge 1 commit into
fastify:mainfrom
cesarfd:fix/invalid-content-length
Open

fix: invalid content length error for compressed requests#390
cesarfd wants to merge 1 commit into
fastify:mainfrom
cesarfd:fix/invalid-content-length

Conversation

@cesarfd
Copy link
Copy Markdown

@cesarfd cesarfd commented Apr 22, 2026

Fixes #191

This is a long-standing issue. I'm not 100% sure this the right thing to do ™️ though. The other alternative has been to build a preParsing function in fastify that runs before registering this plugin that does essentially the same thing and runs the decompression logic itself.

Checklist

🤖 Generated with Claude Code

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.

fastify decompress using preParsing hook

1 participant