Skip to content

Commit

Permalink
build: netty 4.1.90-Final (#9019)
Browse files Browse the repository at this point in the history
* build: netty 4.1.90-Final

see https://netty.io/news/2023/03/14/4-1-90-Final.html
Close #8773

* refactor test
  • Loading branch information
sdelamo committed Mar 29, 2023
1 parent 257c25c commit f8e5514
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Expand Up @@ -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
Expand Down
Expand Up @@ -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"() {
Expand Down

0 comments on commit f8e5514

Please sign in to comment.