diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 67bd872381a..2957f4e3d7a 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -126,7 +126,7 @@ managed-micronaut-views = "3.8.1" managed-micronaut-xml = "3.2.0" managed-neo4j = "3.5.35" managed-neo4j-java-driver = "4.4.9" -managed-netty = "4.1.87.Final" +managed-netty = "4.1.90.Final" managed-reactive-pg-client = "0.11.4" managed-reactive-streams = "1.0.4" # This should be kept aligned with https://github.com/micronaut-projects/micronaut-reactor/blob/master/gradle.properties from the BOM diff --git a/http-server-netty/src/test/groovy/io/micronaut/http/server/netty/binding/HttpResponseSpec.groovy b/http-server-netty/src/test/groovy/io/micronaut/http/server/netty/binding/HttpResponseSpec.groovy index df3fe92a1cc..02005fb800c 100644 --- a/http-server-netty/src/test/groovy/io/micronaut/http/server/netty/binding/HttpResponseSpec.groovy +++ b/http-server-netty/src/test/groovy/io/micronaut/http/server/netty/binding/HttpResponseSpec.groovy @@ -153,11 +153,10 @@ class HttpResponseSpec extends AbstractMicronautSpec { HttpHeaders headers = response.headers then: // The content length header was replaced, not appended - !headers.names().contains("content-type") - !headers.names().contains("Content-Length") - headers.contains("content-length") response.header("Content-Type") == "text/plain" response.header("Content-Length") == "3" + response.header("content-type") == "text/plain" + response.header("content-length") == "3" } void "test server header"() {