Adapt to deprecation of rejectIllegalHeader

Closes gh-35442
This commit is contained in:
Andy Wilkinson
2023-05-16 19:46:43 +01:00
parent c631f04391
commit f5ff8007be
3 changed files with 5 additions and 0 deletions

View File

@@ -365,6 +365,8 @@ class TomcatWebServerFactoryCustomizerTests {
}
@Test
@Deprecated
@SuppressWarnings("deprecation")
void testCustomizeRejectIllegalHeader() {
bind("server.tomcat.reject-illegal-header=false");
customizeAndRunServer((server) -> assertThat(