From b02014c744c2d3ea72e57451e6e641725830233a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Fri, 12 May 2017 20:01:51 +0200 Subject: [PATCH] update to Netty 4.1.11.Final --- gradle.properties | 4 ++-- src/test/java/org/xbib/netty/http/client/test/AkamaiTest.java | 2 +- .../java/org/xbib/netty/http/client/test/HttpBinTest.java | 4 +++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index 7557ac9..f49d695 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ group = org.xbib name = netty-http-client -version = 4.1.10.0 +version = 4.1.11.0 -netty.version = 4.1.10.Final +netty.version = 4.1.11.Final tcnative.version = 2.0.1.Final alpnagent.version = 2.0.6 junit.version = 4.12 diff --git a/src/test/java/org/xbib/netty/http/client/test/AkamaiTest.java b/src/test/java/org/xbib/netty/http/client/test/AkamaiTest.java index 4ca148f..1ce4651 100644 --- a/src/test/java/org/xbib/netty/http/client/test/AkamaiTest.java +++ b/src/test/java/org/xbib/netty/http/client/test/AkamaiTest.java @@ -45,7 +45,7 @@ public class AkamaiTest { }) .onPushReceived((requestHeaders, fullHttpResponse) -> { String response = fullHttpResponse.content().toString(StandardCharsets.UTF_8); - logger.log(Level.INFO, "received push promise: request headers = " + requestHeaders + logger.log(Level.INFO, "received push: request headers = " + requestHeaders + " status = " + fullHttpResponse.status() + " response headers = " + fullHttpResponse.headers().entries() + " response body = " + response diff --git a/src/test/java/org/xbib/netty/http/client/test/HttpBinTest.java b/src/test/java/org/xbib/netty/http/client/test/HttpBinTest.java index b8e824d..12b29a5 100644 --- a/src/test/java/org/xbib/netty/http/client/test/HttpBinTest.java +++ b/src/test/java/org/xbib/netty/http/client/test/HttpBinTest.java @@ -33,6 +33,8 @@ public class HttpBinTest { private static final Logger logger = Logger.getLogger(""); /** + * Test httpbin.org cookie setter with HTTP/1.1. + * * The reponse body should be *
      *   {
@@ -44,7 +46,7 @@ public class HttpBinTest {
      * @throws Exception
      */
     @Test
-    public void testHttpBin() throws Exception {
+    public void testHttpBinCookies() throws Exception {
         HttpClient httpClient = HttpClient.builder()
                 .build();
         httpClient.prepareGet()