Update jetty from 9.2.5.v20141112 to 9.3.6.v20151106, testGzipCompression in JettyTest fail.

@Test

public void testGzipCompression() throws Exception

{

final URL url = new URL(“http://localhost:” + port + “/default”);

final HttpURLConnection get = (HttpURLConnection) url.openConnection();

get.setRequestProperty(“Accept-Encoding”, “gzip”);

Assert.assertEquals(“gzip”, get.getContentEncoding());

}

I am curious how get.getContentEncoding() return gzip?

And if i update jetty from 9.2.5.v20141112 to 9.3.6.v20151106, get.getContentEncoding() will return null, does this matter?

Any one can help?

Duplicated by https://groups.google.com/forum/#!topic/druid-development/rQMk8C4cUfs