Describe the bug
I'm new to pesde and rust, so I might be missing something here.
I deploy pesde registry with storage type: fs. I can push to registry, but failed to pesde install with error:
Invalid gzip header.
I believe the reason is FS storage backend serves package archives with Content-Encoding: gzip. The body is the package's own pkg.tar.gz, so any client or proxy that honors (e.x. Cloudflare) the header decodes that gzip layer and is left with a bare tar.
https://github.com/pesde-pkg/pesde/blob/0.7/registry/src/storage/fs.rs#L26
Please complete the following information:
- pesde: 0.7.3 (registry 0.2.3, tag v0.7.3+registry.0.2.3)
- Operating system: macOS 15 (client); registry on Linux
Is it a bug or am I missing something?
Describe the bug
I'm new to pesde and rust, so I might be missing something here.
I deploy pesde registry with storage type: fs. I can push to registry, but failed to
pesde installwith error:Invalid gzip header.I believe the reason is FS storage backend serves package archives with Content-Encoding: gzip. The body is the package's own pkg.tar.gz, so any client or proxy that honors (e.x. Cloudflare) the header decodes that gzip layer and is left with a bare tar.
https://github.com/pesde-pkg/pesde/blob/0.7/registry/src/storage/fs.rs#L26
Please complete the following information:
Is it a bug or am I missing something?