https://bz.apache.org/bugzilla/show_bug.cgi?id=57530
--- Comment #3 from Violeta Georgieva <violet...@apache.org> --- Hi, What do you think if we add the code below. Currently "Expect" header is restricted and because of this it is not added as request property. If we set "sun.net.http.allowRestrictedHeaders" to "true" then it is added and the test passes. Regards, Violeta Index: TestAbstractHttp11Processor.java =================================================================== --- TestAbstractHttp11Processor.java (revision 1684193) +++ TestAbstractHttp11Processor.java (working copy) @@ -42,6 +42,7 @@ import static org.junit.Assert.assertTrue; import org.junit.Assert; +import org.junit.Before; import org.junit.Test; import org.apache.catalina.Context; @@ -57,6 +58,13 @@ public class TestAbstractHttp11Processor extends TomcatBaseTest { + @Before + @Override + public void setUp() throws Exception { + super.setUp(); + System.setProperty("sun.net.http.allowRestrictedHeaders", "true"); + } + @Test public void testResponseWithErrorChunked() throws Exception { Tomcat tomcat = getTomcatInstance(); -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org