update to Netty 4.1.11.Final

This commit is contained in:
Jörg Prante 2017-05-12 20:01:51 +02:00
parent 741228dd76
commit b02014c744
3 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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
* <pre>
* {
@ -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()