I don't want http client to handle any chunk encoding because I want to write the bytes back to a servlet outoutstream so that browser can do chunk encoding processing.
On Fri, Jan 10, 2014 at 3:12 PM, Simone Bordet <[email protected]> wrote: > Hi, > > On Fri, Jan 10, 2014 at 10:38 PM, Gaurav Kumar <[email protected]> > wrote: > > I am using Jetty client v9.1.0.v20131115 and noticed that HttpClient > > automatically de-compresses gzip content. How can I disable this? > > HttpClient.getContentDecoderFactories().clear(); > > > On a > > related note, I want to disable chunk encoding processing also and get > > access to raw bytes asynchronously > > This is currently not possible if not by creating a custom transport > and eventually a HttpParser subclass. > May I ask you why you want to do that ? > > -- > Simone Bordet > ---- > http://cometd.org > http://webtide.com > http://intalio.com > Developer advice, training, services and support > from the Jetty & CometD experts. > Intalio, the modern way to build business applications. > _______________________________________________ > jetty-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/jetty-users
