Skip to content

Commit 3499112

Browse files
committed
New style predicates
1 parent 070bef7 commit 3499112

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎stubbornjava-common/src/main/java/com/stubbornjava/common/undertow/handlers/CustomHandlers.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public static HttpHandler gzip(HttpHandler next) {
3636
// This 1000 is a priority, not exactly sure what it does.
3737
new GzipEncodingProvider(), 1000,
3838
// Anything under a content-length of 20 will not be gzipped
39-
Predicates.parse("max-content-size[20]")))
39+
Predicates.parse("max-content-size(20)")))
4040
.setNext(next);
4141
}
4242

0 commit comments

Comments
 (0)