Re: Tomcat responding 500 instead of 408

2020-02-18 Thread Mark Thomas
On 17/02/2020 18:39, Michael Osipov wrote: > Am 2020-02-17 um 16:47 schrieb Mark Thomas: >> On 17/02/2020 15:07, Michael Osipov wrote: >>> So the server tries to read those advertised 15 bytes from the client >>> while the input stream on client side has been exhausted. The reqest >>> times

Re: Tomcat responding 500 instead of 408

2020-02-17 Thread Michael Osipov
Am 2020-02-17 um 16:47 schrieb Mark Thomas: On 17/02/2020 15:07, Michael Osipov wrote: Folks, I am recently working an issue with Maven Wagon and HttpClient and noticed that Tomcat responds with 500 while I would expect 408 in this case. Tried very simple code on Tomcat 8.5.51:

Re: Tomcat responding 500 instead of 408

2020-02-17 Thread Mark Thomas
On 17/02/2020 15:07, Michael Osipov wrote: > Folks, > > I am recently working an issue with Maven Wagon and HttpClient and > noticed that Tomcat responds with 500 while I would expect 408 in this > case. > > Tried very simple code on Tomcat 8.5.51: >> @Override >> protected void

Tomcat responding 500 instead of 408

2020-02-17 Thread Michael Osipov
Folks, I am recently working an issue with Maven Wagon and HttpClient and noticed that Tomcat responds with 500 while I would expect 408 in this case. Tried very simple code on Tomcat 8.5.51: @Override protected void doPut(HttpServletRequest request, HttpServletResponse