assertEquals(1000, con.request().timeout());
}
@Test public void referrer() {
Connection con = HttpConnection.connect("http://example.com/");
con.referrer("http://foo.com");
assertEquals("http://foo.com", con.request().header("Referer"));
}
@Test public void method() {
Connection con = HttpConnection.connect("http://example.com/");