Search code examples
jettyjetty-9jetty-8jetty-10

Why there is no GzipContentEncoder in Jetty Client?


I can see org.eclipse.jetty.client.GZIPContentDecoder to decompress the compress response but unable to find any encoder to compress the request, is there any way to compress request using jetty Client library?


Solution

  • Jetty Client only has ContentDecoder for response decompression, not ContentEncoder for request compression.

    I opened an enhancement issue for this feature ...

    https://github.com/eclipse/jetty.project/issues/9619