assertSelected("gzip; q=0.9, *", in("gzip", "deflate", "compress"), equalTo("deflate"));
}
@Test public void
handlesAbsenceOfAcceptEncodingHeader() {
AcceptEncoding accept = AcceptEncoding.of(new MockRequest());
assertThat("selected encoding", accept.selectBestEncoding("gzip", "identity"),
equalTo("identity"));
}