Merged branch 'master' into 'jetty-9.1'.

This commit is contained in:
Simone Bordet 2013-10-21 10:41:01 +02:00
commit 88541bef2f
1 changed files with 8 additions and 0 deletions

View File

@ -853,5 +853,13 @@ public class HttpClientTest extends AbstractHttpClientServerTest
.send();
Assert.assertEquals(200, response.getStatus());
response = client.newRequest("localhost", connector.getLocalPort())
.scheme(scheme)
.header(HttpHeader.USER_AGENT, userAgent)
.timeout(5, TimeUnit.SECONDS)
.send();
Assert.assertEquals(200, response.getStatus());
}
}