h3-compression
h3-compression copied to clipboard
Can't get the response with aws-lambda preset
Environment
- Operating System: Linux
- Node Version: v20.10.0
- Nuxt Version: 3.8.2
- CLI Version: 3.10.0
- Nitro Version: 2.8.0
- Package Manager: [email protected]
Reproduction
Build nitro with "aws-lambda" preset
Describe the bug
I tried h3-compression plugin with aws-lambda preset and I didn't manage to get it work, I tried to add some logging and the body seems well encoded.
But I never succeed to get a well formatted response, I get the error: "No data found for the resource with given identifier"
I noticed some changes (with node-server preset) in the response headers:
- Accept-Ranges: bytes
- Cache-Control: no-cache were added
And:
- Vary: Accept-Encoding was changed to:
- Vary: Accept-Encoding,accept-encoding
I didn't succeed to change theses so i don't know if is a part of the issue.
Additional context
No response
Logs
No response