assertThat("body", unzip(response), equalTo("uncompressed body"));
}
@Test public void
reportsLackOfAnAcceptableEncoding() throws Exception {
compressor.connectTo(new Application() {
public void handle(Request request, Response response) throws Exception {
response.body("uncompressed body");
}
});
request.header("Accept-Encoding", "identity;q=0");