Jetty Version
12.1.5
Jetty Environment
Client
Java Version
21
Question
I use a Jetty HTTP Client and want to know if a response was sent with in compressed format. However the original Content-Encoding header seem to be removed by Jetty when using the compression handlers as outlined in https://jetty.org/docs/jetty/12.1/programming-guide/client/http.html#content-response.
Apache HTTPClient no longer removes the original response headers (even when decompressing the response body), compare with https://issues.apache.org/jira/browse/HTTPCLIENT-2409.
How do get this information if not exposed via Response headers in Jetty HTTP Client?
Jetty Version
12.1.5
Jetty Environment
Client
Java Version
21
Question
I use a Jetty HTTP Client and want to know if a response was sent with in compressed format. However the original
Content-Encodingheader seem to be removed by Jetty when using the compression handlers as outlined in https://jetty.org/docs/jetty/12.1/programming-guide/client/http.html#content-response.Apache HTTPClient no longer removes the original response headers (even when decompressing the response body), compare with https://issues.apache.org/jira/browse/HTTPCLIENT-2409.
How do get this information if not exposed via Response headers in Jetty HTTP Client?