Re: Connection header override

2020-09-28 Thread Christopher Schultz
Mark, On 9/28/20 03:48, Mark Thomas wrote: > On 28/09/2020 08:33, Mark Thomas wrote: >> On 27/09/2020 00:07, Pawel Veselov wrote: >>> Hello! >>> >>> Tomcat 9.0.x >>> >>> I'd like to force connection closure on some endpoints. >> >> Why? Generally, this is something that should not be an applicatio

Re: Connection header override

2020-09-28 Thread Mark Thomas
On 28/09/2020 08:33, Mark Thomas wrote: > On 27/09/2020 00:07, Pawel Veselov wrote: >> Hello! >> >> Tomcat 9.0.x >> >> I'd like to force connection closure on some endpoints. > > Why? Generally, this is something that should not be an application concern. > >> I'm trying this on a simple JSP page

Re: Connection header override

2020-09-28 Thread Mark Thomas
On 27/09/2020 00:07, Pawel Veselov wrote: > Hello! > > Tomcat 9.0.x > > I'd like to force connection closure on some endpoints. Why? Generally, this is something that should not be an application concern. > I'm trying this on a simple JSP page. > If I call response.setHeader("Connection","close

Re: Connection header override

2020-09-27 Thread Christopher Schultz
Pawel, On 9/26/20 19:07, Pawel Veselov wrote: > Hello! > > Tomcat 9.0.x > > I'd like to force connection closure on some endpoints. > I'm trying this on a simple JSP page. > If I call response.setHeader("Connection","close"), I see that the > response has "Connection: close, keep-alive". > I ass

Connection header override

2020-09-26 Thread Pawel Veselov
Hello! Tomcat 9.0.x I'd like to force connection closure on some endpoints. I'm trying this on a simple JSP page. If I call response.setHeader("Connection","close"), I see that the response has "Connection: close, keep-alive". I assume Tomcat inserts the keep-alive part. It looks like the browser