Open joakime opened 1 year ago
This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.
When we do this we need to keep in mind the effort for Compression Dictionary Transport.
@joakime lets start working on this in the 12.1.x branch
I'm working on this now.
Jetty version(s) Jetty 12
Enhancement Description The current
GzipHandler
does a good job at handlingContent-Encoding: gzip
(andAccept-Encoding: gzip
), but we shouldn't hardcode only gzip support.Can we refactor the existing
GzipHandler
to be more generic, something likeDynamicCompressionHandler
and have the Gzip support (courtesy of the existingGzipRequest
object) just be loaded via a ServiceLoader?This way we can encourage other compression algorithms under the same
Accept-Encoding
/Content-Encoding
/ already compressed rules that the existing codebase handles for us?Other compression algorithms that have been requested in our issue tracker.
2553 - RFC 7932 - Brotli Compressed Data Format
6600 - RFC 8878 - Zstandard Compression and the
application/zstd
Media Type(FYI,
curl
supports both of these compression types now)