Why there is no GzipContentEncoder in Jetty Client?

57 Views Asked by At

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?

1

There are 1 best solutions below

0
Joakim Erdfelt On BEST ANSWER

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