@Test
public void testHttpConnectionInputStream() throws Exception {
IConnectionService conManager = Owl.getConnectionService();
URI url = new URI("http://www.rssowl.org/favicon.ico");
IProtocolHandler handler = conManager.getHandler(url);
InputStream stream = handler.openStream(url, null, null);
if (stream instanceof HttpConnectionInputStream) {
HttpConnectionInputStream inS = (HttpConnectionInputStream) stream;
assertTrue(inS.getContentLength() > 0);
assertNotNull(inS.getIfModifiedSince());
assertNotNull(inS.getIfNoneMatch());