On Tue, 2017-05-02 at 14:29 -0700, Gary Gregory wrote: > The upcoming Apache Commons Compress 1.14 will support Brotli > decompression. > > How should we support this in HttpClient? (I am assuming we would > want such > a thing and I am also assuming that using the Commons Compress facade > is a > good thing; I might be assuming too much now ! ;-) > > Should we have a separate module? Or, should we have the code in > httpclient5 itself with an optional Maven dependency on Commons > Compress? > > Apps themselves would define which third party library (like Brotli, > XZ, > and so on) they end up caring about. > > Thoughts? > > Gary >
I personally would prefer a separate module to optional dependencies in the main module but could live with either approach. If you foresee more dependencies besides the Brotli codec added in the future I would suggest putting them all into a separate module (httpclient5-compress or some such). Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
