diff --git a/codec-http/src/main/java/io/netty/handler/codec/http/DefaultHttpHeaders.java b/codec-http/src/main/java/io/netty/handler/codec/http/DefaultHttpHeaders.java index 2cfaf9e082..902ae4c91d 100644 --- a/codec-http/src/main/java/io/netty/handler/codec/http/DefaultHttpHeaders.java +++ b/codec-http/src/main/java/io/netty/handler/codec/http/DefaultHttpHeaders.java @@ -294,7 +294,7 @@ public class DefaultHttpHeaders extends HttpHeaders { while (e != null) { if (e.hash == h && equalsIgnoreCase(name, e.key)) { if (ignoreCaseValue) { - if (e.value.equalsIgnoreCase(value)) { + if (equalsIgnoreCase(e.value, value)) { return true; } } else {