Thanks, Filip.

Upon further investigation, we've discovered that our POSTs were bigger than
the default maxPostSize value (2MB). The call to getParameter("foo") was
returning null and doing a trace showed that the client was not sending the
body.

It appears that Tomcat is returning "100 Continue" immediately, and then
when it starts to read the body [as part of getParameter()] it notices that
Content-Length is greater than maxPostSize and it skips the body.

Wouldn't it be better if Tomcat looked at the Content-Length before it
acknowledges the request? Maybe reply with a 417 instead?

-- 
View this message in context: 
http://www.nabble.com/How-to-handle-Expect%3A-100-continue-tp21440164p21445613.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to