assertEquals(1, r.getHeaders(HttpHeaders.CONTENT_ENCODING).length);
assertEquals("gzip", r.getHeaders(HttpHeaders.CONTENT_ENCODING)[0].getValue());
}
});
Sardine sardine = new SardineImpl(client);
sardine.enableCompression();
// final String url = "http://sardine.googlecode.com/svn/trunk/README.html";
final String url = "http://sudo.ch/dav/anon/sardine/single/file";
final InputStream in = sardine.get(url);
assertNotNull(in);
assertNotNull(in.read());